summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/platform/glibc-compat-symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'make/stub_includes/platform/glibc-compat-symbols.h')
-rw-r--r--make/stub_includes/platform/glibc-compat-symbols.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/stub_includes/platform/glibc-compat-symbols.h b/make/stub_includes/platform/glibc-compat-symbols.h
index 18b2682..5dc1a18 100644
--- a/make/stub_includes/platform/glibc-compat-symbols.h
+++ b/make/stub_includes/platform/glibc-compat-symbols.h
@@ -15,7 +15,7 @@
*
* Check build-in macro definitions via 'gcc -dM -E - < /dev/null'
*/
-#if defined(__GNUC__)
+#if defined(__GNUC__) && !defined(__clang__)
#if defined(__arm__)
#define GLIBC_COMPAT_SYMBOL(FFF) __asm__(".symver " #FFF "," #FFF "@GLIBC_2.4");
#elif defined(__amd64__)
@@ -24,6 +24,7 @@
#define GLIBC_COMPAT_SYMBOL(FFF) __asm__(".symver " #FFF "," #FFF "@GLIBC_2.2.5");
#endif /*__amd64__*/
#else
+ #warning GLIBC_COMPAT_SYMBOL not supported with current compiler
#define GLIBC_COMPAT_SYMBOL(FFF)
#endif