Solaris based system build fix.

malloc_usable_size or similar unsupported.
This commit is contained in:
David Carlier
2020-11-18 17:13:21 +00:00
committed by Matthew Parkinson
parent 2385eb2bc1
commit 08d0f42cc5

View File

@@ -283,7 +283,8 @@ if(NOT DEFINED SNMALLOC_ONLY_HEADER_LIBRARY)
if (WIN32
OR (CMAKE_SYSTEM_NAME STREQUAL NetBSD)
OR (CMAKE_SYSTEM_NAME STREQUAL OpenBSD)
OR (CMAKE_SYSTEM_NAME STREQUAL DragonFly))
OR (CMAKE_SYSTEM_NAME STREQUAL DragonFly)
OR (CMAKE_SYSTEM_NAME STREQUAL SunOS))
# Windows does not support aligned allocation well enough
# for pass through.
# NetBSD, OpenBSD and DragonFlyBSD do not support malloc*size calls.