diff options
Diffstat (limited to 'tests/sockets/test_sockets_partial_server.c')
-rw-r--r-- | tests/sockets/test_sockets_partial_server.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sockets/test_sockets_partial_server.c b/tests/sockets/test_sockets_partial_server.c index f740c307..5c3621a0 100644 --- a/tests/sockets/test_sockets_partial_server.c +++ b/tests/sockets/test_sockets_partial_server.c @@ -11,7 +11,7 @@ #include <sys/ioctl.h> #include <sys/types.h> #include <sys/socket.h> -#if EMSCRIPTEN +#ifdef __EMSCRIPTEN__ #include <emscripten.h> #endif @@ -124,7 +124,7 @@ int main() { exit(EXIT_FAILURE); } -#if EMSCRIPTEN +#ifdef __EMSCRIPTEN__ emscripten_set_main_loop(iter, 60, 0); #else while (1) iter(); |