modules/emscripten/system/lib/libcxxabi/src/cxa_new_delete.cpp in webruby-0.1.2 vs modules/emscripten/system/lib/libcxxabi/src/cxa_new_delete.cpp in webruby-0.2.1
- old
+ new
@@ -226,10 +226,10 @@
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()
{
#ifndef _LIBCPP_NO_EXCEPTIONS