aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-03-14 20:52:56 +0200
committerJukka Jylänki <jujjyl@gmail.com>2014-03-14 20:58:04 +0200
commit21fc381f6e0fd575da709bc461dd5251d30536fa (patch)
tree4babdf11dc0c70eb0039fcd22328e5af0d50a093
parent7cd9a3c64c4cbbede7fac8002b351f5f599eb799 (diff)
Make tests/openal_playback.cpp compilable outside the test runner.
-rw-r--r--tests/openal_playback.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/openal_playback.cpp b/tests/openal_playback.cpp
index 880b6906..46c4f8a3 100644
--- a/tests/openal_playback.cpp
+++ b/tests/openal_playback.cpp
@@ -25,7 +25,7 @@ void playSource(void* arg)
alGetSourcei(source, AL_SOURCE_STATE, &state);
assert(state == AL_STOPPED);
-#ifdef __EMSCRIPTEN__
+#ifdef REPORT_RESULT
int result = 1;
REPORT_RESULT();
#endif