diff options
author | Dan Gohman <sunfish@google.com> | 2014-02-24 08:46:09 -0800 |
---|---|---|
committer | Dan Gohman <sunfish@google.com> | 2014-02-25 11:58:53 -0800 |
commit | c600155b1fef26a248d6467a89030328db0fedab (patch) | |
tree | 5a72da7c752516383151913320d9713fd103eaa6 /system/lib/dlmalloc.c | |
parent | 377e75950fd04ed2705befe00b0c46f0e88a0cf7 (diff) |
Begin using the Emscripten toolchain in clang.
With the Emscripten toolchain, we can make clang do more of what we need
directly rather than in the wrapper scripts.
Diffstat (limited to 'system/lib/dlmalloc.c')
-rw-r--r-- | system/lib/dlmalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/lib/dlmalloc.c b/system/lib/dlmalloc.c index ce2c25f1..04e9e47b 100644 --- a/system/lib/dlmalloc.c +++ b/system/lib/dlmalloc.c @@ -1,6 +1,6 @@ /* XXX Emscripten XXX */ -#if EMSCRIPTEN +#if __EMSCRIPTEN__ #define DLMALLOC_EXPORT __attribute__((__weak__, __visibility__("default"))) /* mmap uses malloc, so malloc can't use mmap */ #define HAVE_MMAP 0 |