diff options
Diffstat (limited to 'tests/sdl_gfx_primitives.c')
-rw-r--r-- | tests/sdl_gfx_primitives.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sdl_gfx_primitives.c b/tests/sdl_gfx_primitives.c index db0c6181..dbf9849c 100644 --- a/tests/sdl_gfx_primitives.c +++ b/tests/sdl_gfx_primitives.c @@ -1,7 +1,7 @@ #include "SDL/SDL.h" #include "SDL/SDL_gfxPrimitives.h" -#ifdef EMSCRIPTEN +#ifdef __EMSCRIPTEN__ #include "emscripten.h" #endif @@ -31,7 +31,7 @@ int main(int argc, char **argv) { SDL_UpdateRect(screen, 0, 0, 0, 0); -#ifndef EMSCRIPTEN +#ifndef __EMSCRIPTEN__ SDL_Event evt; SDL_SaveBMP(screen, "native_output.bmp"); while (1) { |