Merge pull request #40432 from Faless/js/fix_setenv

Fix setenv not defined in older emscripten verions.
This commit is contained in:
Rémi Verschelde 2020-07-16 10:10:36 +02:00 committed by GitHub
commit 89f57ae122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@
#include "platform/javascript/os_javascript.h"
#include <emscripten/emscripten.h>
#include <stdlib.h>
static OS_JavaScript *os = NULL;
static uint64_t target_ticks = 0;