From 314cee133a78da0fff1d13645de6030bf2b8e4b9 Mon Sep 17 00:00:00 2001 From: Psychotropos Date: Tue, 29 May 2018 21:59:51 +0100 Subject: [PATCH] dtoolbase: The bug in question is glibc-specific, treat it as such. --- dtool/src/dtoolbase/dtoolbase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/dtoolbase/dtoolbase.h b/dtool/src/dtoolbase/dtoolbase.h index 3f8e07f998..4e7b73ba9a 100644 --- a/dtool/src/dtoolbase/dtoolbase.h +++ b/dtool/src/dtoolbase/dtoolbase.h @@ -123,7 +123,7 @@ // This is a workaround for a glibc bug that is triggered by clang when // compiling with -ffast-math. -#ifdef __clang__ +#if defined(__clang__) && defined(__GLIBC__) #include #ifndef __extern_always_inline #define __extern_always_inline extern __always_inline