aboutsummaryrefslogtreecommitdiff
path: root/tests/tex_nonbyte.c
diff options
context:
space:
mode:
authorDan Gohman <sunfish@google.com>2014-02-24 08:46:38 -0800
committerDan Gohman <sunfish@google.com>2014-02-25 11:58:53 -0800
commit3317f2cd793893073619a87a462da26c505ba9eb (patch)
tree89929a716269220d19aa3c4b6d2cd8bbe13343b7 /tests/tex_nonbyte.c
parentc600155b1fef26a248d6467a89030328db0fedab (diff)
Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.
Diffstat (limited to 'tests/tex_nonbyte.c')
-rw-r--r--tests/tex_nonbyte.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tex_nonbyte.c b/tests/tex_nonbyte.c
index 960d0efb..ffeb9f24 100644
--- a/tests/tex_nonbyte.c
+++ b/tests/tex_nonbyte.c
@@ -22,7 +22,7 @@ RESULTING FROM THE USE, MODIFICATION, OR
REDISTRIBUTION OF THIS SOFTWARE.
*/
-#if !EMSCRIPTEN
+#ifndef __EMSCRIPTEN__
#define USE_GLEW 1
#endif
@@ -118,7 +118,7 @@ int main(int argc, char *argv[])
glClearColor( 0, 0, 0, 0 );
-#if !EMSCRIPTEN
+#ifndef __EMSCRIPTEN__
glEnable( GL_TEXTURE_2D ); // Need this to display a texture XXX unnecessary in OpenGL ES 2.0/WebGL
#endif
@@ -192,7 +192,7 @@ int main(int argc, char *argv[])
SDL_GL_SwapBuffers();
-#if !EMSCRIPTEN
+#ifndef __EMSCRIPTEN__
// Wait for 3 seconds to give us a chance to see the image
SDL_Delay(3000);
#endif