mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
librhash: aligned_alloc is not available on Solaris
This commit is contained in:
@@ -42,7 +42,7 @@ extern "C" {
|
||||
# define rhash_aligned_free(ptr) _aligned_free(ptr)
|
||||
|
||||
#elif !defined(NO_STDC_ALIGNED_ALLOC) && (__STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)) \
|
||||
&& !defined(__APPLE__) && !defined(__HAIKU__) \
|
||||
&& !defined(__APPLE__) && !defined(__HAIKU__) && !defined(__sun) \
|
||||
&& (!defined(__ANDROID_API__) || __ANDROID_API__ >= 28)
|
||||
|
||||
# define HAS_STDC_ALIGNED_ALLOC
|
||||
|
||||
Reference in New Issue
Block a user