mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 09:14:28 +00:00
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit abbca30bd61c0ff856785900aac899ab33ead08b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
12 lines
446 B
Diff
12 lines
446 B
Diff
--- a/storage/rocksdb/rocksdb/port/jemalloc_helper.h
|
|
+++ b/storage/rocksdb/rocksdb/port/jemalloc_helper.h
|
|
@@ -5,7 +5,7 @@
|
|
|
|
#pragma once
|
|
|
|
-#if defined(__clang__)
|
|
+#if defined(__clang__) && defined(__GLIBC__)
|
|
// glibc's `posix_memalign()` declaration specifies `throw()` while clang's
|
|
// declaration does not. There is a hack in clang to make its re-declaration
|
|
// compatible with glibc's if they are declared consecutively. That hack breaks
|