diff options
author | Dan Gohman <sunfish@google.com> | 2014-02-24 08:46:38 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@google.com> | 2014-02-25 11:58:53 -0800 |
commit | 3317f2cd793893073619a87a462da26c505ba9eb (patch) | |
tree | 89929a716269220d19aa3c4b6d2cd8bbe13343b7 /tests/module/test_stdin.c | |
parent | c600155b1fef26a248d6467a89030328db0fedab (diff) |
Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.
Diffstat (limited to 'tests/module/test_stdin.c')
-rw-r--r-- | tests/module/test_stdin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/module/test_stdin.c b/tests/module/test_stdin.c index 319c686c..2772fcf0 100644 --- a/tests/module/test_stdin.c +++ b/tests/module/test_stdin.c @@ -3,7 +3,7 @@ #include <stdlib.h> #include <stdio.h> #include <unistd.h> -#if EMSCRIPTEN +#ifdef __EMSCRIPTEN__ #include <emscripten.h> #endif @@ -48,7 +48,7 @@ int main(int argc, char const *argv[]) // should exit out after calling main_loop once. main_loop(); -#if EMSCRIPTEN +#ifdef __EMSCRIPTEN__ emscripten_set_main_loop(main_loop, 60, 0); #else while (1) main_loop(); sleep(1); |