mirror of
https://github.com/kichikuou/system3-sdl2.git
synced 2026-10-13 09:48:15 +03:00
emscripten: minor refactoring
- Remove the use of EXPORTED_FUNCTIONS in favor of EMSCRIPTEN_KEEPALIVE - SDL_Delay is no longer aliased to emscripten_sleep
This commit is contained in:
+3
-2
@@ -12,9 +12,10 @@
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef EMSCRIPTEN
|
||||
#ifdef __EMSCRIPTEN__
|
||||
#include <emscripten.h>
|
||||
#define SDL_Delay emscripten_sleep
|
||||
#else
|
||||
#define EMSCRIPTEN_KEEPALIVE
|
||||
#endif
|
||||
|
||||
#define FONT_RESOURCE_NAME "MTLc3m.ttf"
|
||||
|
||||
Reference in New Issue
Block a user