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:
parent
77724bf7e0
commit
5c8164fa96
2 changed files with 6 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue