Skip to content

Commit

Permalink
Fix setenv not defined in older emscripten verions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Faless committed Jul 15, 2020
1 parent 4abebfa commit e7099ed
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 e7099ed

Please sign in to comment.