diff options
Diffstat (limited to 'tests/sockets/webrtc_peer.c')
-rw-r--r-- | tests/sockets/webrtc_peer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sockets/webrtc_peer.c b/tests/sockets/webrtc_peer.c index dd44e93e..327782d6 100644 --- a/tests/sockets/webrtc_peer.c +++ b/tests/sockets/webrtc_peer.c @@ -9,7 +9,7 @@ #include <unistd.h> #include <sys/ioctl.h> #include <assert.h> -#if EMSCRIPTEN +#ifdef __EMSCRIPTEN__ #include <emscripten.h> #endif @@ -71,7 +71,7 @@ int main(void) hdr.msg_iov = iov; hdr.msg_iovlen = 1; -#if EMSCRIPTEN +#ifdef __EMSCRIPTEN__ emscripten_set_main_loop(iter, 0, 0); #else while (!done) iter(); |