Browse Source

Merge topic 'librhash-glibc-version' into release-3.30

628a807730 librhash: aligned_alloc is not available with glibc < 2.16

Acked-by: Kitware Robot <[email protected]>
Merge-request: !9804
Brad King 1 year ago
parent
commit
a0e6360639
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Utilities/cmlibrhash/librhash/util.h

+ 1 - 1
Utilities/cmlibrhash/librhash/util.h

@@ -44,7 +44,7 @@ extern "C" {
 # define rhash_aligned_free(ptr) _aligned_free(ptr)
 
 #elif !defined(NO_STDC_ALIGNED_ALLOC) && (__STDC_VERSION__ >= 201112L || defined(_ISOC11_SOURCE)) \
-	&& !(defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 15))) \
+	&& !(defined(__GLIBC__) && (__GLIBC__ < 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ < 16))) \
 	&& !(defined(__ibmxl__) && defined(__clang__) && defined(__linux__)) \
 	&& !defined(__APPLE__) && !defined(__HAIKU__) && !defined(__sun) \
 	&& (!defined(__ANDROID_API__) || __ANDROID_API__ >= 28)