Fix setenv not defined in older emscripten verions.
This commit is contained in:
parent
4abebfa476
commit
e7099ed2ea
|
@ -33,6 +33,7 @@
|
||||||
#include "platform/javascript/os_javascript.h"
|
#include "platform/javascript/os_javascript.h"
|
||||||
|
|
||||||
#include <emscripten/emscripten.h>
|
#include <emscripten/emscripten.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
static OS_JavaScript *os = NULL;
|
static OS_JavaScript *os = NULL;
|
||||||
static uint64_t target_ticks = 0;
|
static uint64_t target_ticks = 0;
|
||||||
|
|
Loading…
Reference in New Issue