aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxxabi/src
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2013-09-06 12:19:24 +0700
committerBruce Mitchener <bruce.mitchener@gmail.com>2013-09-06 12:19:24 +0700
commite5f6f3a3d80a0c79860ebf4638183c8edc3dfe33 (patch)
treebaa71ce5c458654b59e59be4111c100bd6d8bb89 /system/lib/libcxxabi/src
parent5adf7fcf23da86a26e7b3976872440c97494d1b4 (diff)
Use __EMSCRIPTEN__ rather than EMSCRIPTEN.
This was requested by someone upstream when I'd originally submitted these changes and is more correct.
Diffstat (limited to 'system/lib/libcxxabi/src')
-rw-r--r--system/lib/libcxxabi/src/cxa_new_delete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/lib/libcxxabi/src/cxa_new_delete.cpp b/system/lib/libcxxabi/src/cxa_new_delete.cpp
index e6fee5f2..7fd0b3b7 100644
--- a/system/lib/libcxxabi/src/cxa_new_delete.cpp
+++ b/system/lib/libcxxabi/src/cxa_new_delete.cpp
@@ -228,7 +228,7 @@ bad_array_new_length::what() const _NOEXCEPT
return "bad_array_new_length";
}
-#ifdef EMSCRIPTEN
+#ifdef __EMSCRIPTEN__
// We don't build the new.cpp from libcxx, so we need to define this.
void
__throw_bad_alloc()