1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-24 17:27:18 +00:00

Add math headers for emscripten

We now check for NaN in table.c and struct.c
as we disallow NaN keys.
This commit is contained in:
Calvin Rose 2019-01-29 18:18:14 -05:00
parent 32c209ede9
commit 46c540b93e
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <janet/janet.h>
#include "gc.h"
#include "util.h"
#include <math.h>
#endif
/* Begin creation of a struct */

View File

@ -24,6 +24,7 @@
#include <janet/janet.h>
#include "gc.h"
#include "util.h"
#include <math.h>
#endif
/* Initialize a table */