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/perspective.c | |
parent | c600155b1fef26a248d6467a89030328db0fedab (diff) |
Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.
Diffstat (limited to 'tests/perspective.c')
-rw-r--r-- | tests/perspective.c | 6 |
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 |