Displaying 1 result from an estimated 1 matches for "orig_malloc".
2015 May 05
2
Compiling opus with emscripten: malloc_hook
...with
emscripten. The regular:
$ emconfigure ./configure --enable-fixed-point
$ emmake make
gets me quite far, but it hangs on the use of __malloc_hook in the tests:
tests/test_opus_api.c:1776:16: error: use of undeclared identifier
'__malloc_hook'; did you mean 'malloc_hook'?
orig_malloc=__malloc_hook;
^~~~~~~~~~~~~
malloc_hook
tests/test_opus_api.c:74:7: note: 'malloc_hook' declared here
void *malloc_hook(__attribute__((unused)) size_t size,
^
tests/test_opus_api.c:1777:4: error: use of undeclared identifier
'__malloc_hook'
__...