mallinfo is only defined on glibc and android by jvoisin · Pull Request #764 · uxlfoundation/oneTBB
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Conversation
It currently prevents compilation under musl:
```
[ 90%] Building CXX object src/tbbmalloc_proxy/CMakeFiles/tbbmalloc_proxy.dir/proxy.cpp.o
/__w/mimalloc-bench/mimalloc-bench/extern/tbb/src/tbbmalloc_proxy/proxy.cpp:263:26: error: return type 'struct mallinfo' is incomplete
263 | struct mallinfo mallinfo() __THROW
| ^
compilation terminated due to -Wfatal-errors.
``
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters