aboutsummaryrefslogtreecommitdiff
path: root/tests/perspective.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/perspective.c')
-rw-r--r--tests/perspective.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/perspective.c b/tests/perspective.c
index 72f4c50f..77998557 100644
--- a/tests/perspective.c
+++ b/tests/perspective.c
@@ -8,7 +8,7 @@
#include <SDL/SDL.h>
-#ifdef EMSCRIPTEN
+#ifdef __EMSCRIPTEN__
#include <GL/gl.h>
#include <GL/glu.h>
#include "emscripten.h"
@@ -19,7 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
-#ifdef EMSCRIPTEN
+#ifdef __EMSCRIPTEN__
#define emColor4ubv(x)
#else
#define emColor4ubv(x) glColor4ubv(x)
@@ -392,7 +392,7 @@ int main( int argc, char* argv[] )
*/
one_iter(); // just one for testing purposes
-#ifndef EMSCRIPTEN
+#ifndef __EMSCRIPTEN__
SDL_Delay(2000);
#endif