aboutsummaryrefslogtreecommitdiff
path: root/tests/sockets/test_sockets_echo_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sockets/test_sockets_echo_server.c')
-rw-r--r--tests/sockets/test_sockets_echo_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sockets/test_sockets_echo_server.c b/tests/sockets/test_sockets_echo_server.c
index b24472e8..55898add 100644
--- a/tests/sockets/test_sockets_echo_server.c
+++ b/tests/sockets/test_sockets_echo_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
@@ -186,7 +186,7 @@ int main() {
}
#endif
-#if EMSCRIPTEN
+#ifdef __EMSCRIPTEN__
emscripten_set_main_loop(main_loop, 60, 0);
#else
while (1) main_loop();