mirror of
https://github.com/janet-lang/janet
synced 2025-09-02 10:58:03 +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:
@@ -24,6 +24,7 @@
|
||||
#include <janet/janet.h>
|
||||
#include "gc.h"
|
||||
#include "util.h"
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
/* Begin creation of a struct */
|
||||
|
@@ -24,6 +24,7 @@
|
||||
#include <janet/janet.h>
|
||||
#include "gc.h"
|
||||
#include "util.h"
|
||||
#include <math.h>
|
||||
#endif
|
||||
|
||||
/* Initialize a table */
|
||||
|
Reference in New Issue
Block a user