Fix internal Emscripten JS API calls

Emscripten 1.37.24 no longer exports these by default
This commit is contained in:
Leon Krause 2018-01-06 15:53:04 +01:00
parent 50181da8a1
commit cf5b074a95
3 changed files with 5 additions and 5 deletions

View file

@ -65,7 +65,7 @@ int main(int argc, char *argv[]) {
FS.mkdir('/userfs');
FS.mount(IDBFS, {}, '/userfs');
FS.syncfs(true, function(err) {
Module['ccall']('main_after_fs_sync', null, ['string'], [err ? err.message : ""])
ccall('main_after_fs_sync', null, ['string'], [err ? err.message : ""])
});
);
/* clang-format on */