|
@@ -123,7 +123,7 @@
|
|
|
|
|
|
|
|
// This is a workaround for a glibc bug that is triggered by clang when
|
|
// This is a workaround for a glibc bug that is triggered by clang when
|
|
|
// compiling with -ffast-math.
|
|
// compiling with -ffast-math.
|
|
|
-#ifdef __clang__
|
|
|
|
|
|
|
+#if defined(__clang__) && defined(__GLIBC__)
|
|
|
#include <sys/cdefs.h>
|
|
#include <sys/cdefs.h>
|
|
|
#ifndef __extern_always_inline
|
|
#ifndef __extern_always_inline
|
|
|
#define __extern_always_inline extern __always_inline
|
|
#define __extern_always_inline extern __always_inline
|