Patched to compile on non-Emscripten targets.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 24 Dec 2014 02:01:12 -0500
changeset 9280 f33128b58c5d
parent 9279 e1d1b6479a14
child 9281 85246fbeeac1
Patched to compile on non-Emscripten targets.
test/loopwave.c
--- a/test/loopwave.c	Sat Dec 13 02:40:52 2014 -0500
+++ b/test/loopwave.c	Wed Dec 24 02:01:12 2014 -0500
@@ -79,12 +79,14 @@
     done = 1;
 }
 
+#ifdef __EMSCRIPTEN__
 void
 loop()
 {
     if(done || (SDL_GetAudioStatus() != SDL_AUDIO_PLAYING))
         emscripten_cancel_main_loop();
 }
+#endif
 
 int
 main(int argc, char *argv[])