Merge pull request #34919 from azat/fix-glibc2.35-build

Fix alignment for aligned_alloc() to fix build for glibc2.35+
This commit is contained in:
alexey-milovidov 2022-03-11 17:59:49 +03:00 committed by GitHub
commit a3a8a1055d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ static void dummyFunctionForInterposing()
ignore(calloc(0, 0)); // -V575 NOLINT
ignore(realloc(nullptr, 0)); // -V575 NOLINT
ignore(posix_memalign(&dummy, 0, 0)); // -V575 NOLINT
ignore(aligned_alloc(0, 0)); // -V575 NOLINT
ignore(aligned_alloc(1, 0)); // -V575 NOLINT
ignore(valloc(0)); // -V575 NOLINT
ignore(memalign(0, 0)); // -V575 NOLINT
#if !defined(USE_MUSL)