diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-24 15:54:18 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-04-27 08:03:29 +0700 |
commit | c6932c1ea9cf971d53ed45e9c792c7ed9cd3d81a (patch) | |
tree | f5ac29bd314f9dad3838a613222a42e89ad673f0 /system/lib/dlmalloc.c | |
parent | 75bf333498ad87d0c830e6b5193ee0e6d682a27a (diff) |
Flag malloc_usable_size as weak.
This makes it match the other malloc symbols.
Diffstat (limited to 'system/lib/dlmalloc.c')
-rw-r--r-- | system/lib/dlmalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/lib/dlmalloc.c b/system/lib/dlmalloc.c index 9a84d48f..e833ae42 100644 --- a/system/lib/dlmalloc.c +++ b/system/lib/dlmalloc.c @@ -1275,7 +1275,8 @@ extern "C" { p = malloc(n); assert(malloc_usable_size(p) >= 256); */ - size_t dlmalloc_usable_size(void*); + /* XXX EMSCRIPTEN: mark for export (and therefore weak) */ + DLMALLOC_EXPORT size_t dlmalloc_usable_size(void*); #endif /* ONLY_MSPACES */ |