3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-02 12:37:52 +00:00

add USE_MALLOC_USEABLE_SIZE option

This commit is contained in:
Remy Wang 2024-09-19 14:30:45 -07:00
parent 77724bf7e0
commit 5c8164fa96
2 changed files with 6 additions and 2 deletions

View file

@ -213,7 +213,7 @@ list(APPEND Z3_COMPONENT_EXTRA_INCLUDE_DIRS
option(Z3_USE_MALLOC_USABLE_SIZE "Use malloc_usable_size (or equivalents like malloc_size or _msize)" ON)
if (Z3_USE_MALLOC_USABLE_SIZE)
message(STATUS "Using malloc_usable_size")
list(APPEND Z3_COMPONENT_CXX_DEFINES "-DHAS_MALLOC_USABLE_SIZE")
list(APPEND Z3_COMPONENT_CXX_DEFINES "-DUSE_MALLOC_USABLE_SIZE")
else()
message(STATUS "Not using malloc_usable_size")
endif()