Skip to content

Commit

Permalink
Merge pull request #40432 from Faless/js/fix_setenv
Browse files Browse the repository at this point in the history
Fix setenv not defined in older emscripten verions.
  • Loading branch information
akien-mga authored Jul 16, 2020
2 parents 4abebfa + e7099ed commit 89f57ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platform/javascript/javascript_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 89f57ae

Please sign in to comment.