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/test_float_literals.cpp | |
parent | c600155b1fef26a248d6467a89030328db0fedab (diff) |
Use __EMSCRIPTEN__ instead of EMSCRIPTEN in tests.
Diffstat (limited to 'tests/test_float_literals.cpp')
-rw-r--r-- | tests/test_float_literals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_float_literals.cpp b/tests/test_float_literals.cpp index fdae2764..2920fbd1 100644 --- a/tests/test_float_literals.cpp +++ b/tests/test_float_literals.cpp @@ -4,7 +4,7 @@ #include <stdio.h> #include <stdlib.h> -#if defined(_MSC_VER) || defined(EMSCRIPTEN) +#if defined(_MSC_VER) || defined(__EMSCRIPTEN__) #define FLOAT_NAN ((float)std::numeric_limits<float>::quiet_NaN()) #define FLOAT_INF ((float)std::numeric_limits<float>::infinity()) #else @@ -12,7 +12,7 @@ #define FLOAT_INF ((float)INFINITY) #endif -#if defined(_MSC_VER) || defined(EMSCRIPTEN) +#if defined(_MSC_VER) || defined(__EMSCRIPTEN__) #define DOUBLE_NAN ((double)std::numeric_limits<double>::quiet_NaN()) #define DOUBLE_INF ((double)std::numeric_limits<double>::infinity()) #else |