aboutsummaryrefslogtreecommitdiff
path: root/tests/sdl_headless.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/sdl_headless.c
parentc600155b1fef26a248d6467a89030328db0fedab (diff)
Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.
Diffstat (limited to 'tests/sdl_headless.c')
-rw-r--r--tests/sdl_headless.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sdl_headless.c b/tests/sdl_headless.c
index 349c5e26..6157a46d 100644
--- a/tests/sdl_headless.c
+++ b/tests/sdl_headless.c
@@ -6,7 +6,7 @@
int main(int argc, char **argv) {
-#if EMSCRIPTEN
+#ifdef __EMSCRIPTEN__
// include GL stuff, to check that we can compile hybrid 2d/GL apps
extern void glBegin(int mode);
extern void glBindBuffer(int target, int buffer);