diff options
-rw-r--r-- | include/features.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/features.h b/include/features.h index 0e96de030f..1072952b62 100644 --- a/include/features.h +++ b/include/features.h @@ -440,11 +440,10 @@ /* Decide whether we can define 'extern inline' functions in headers. */ #if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \ && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ \ - && defined __extern_inline + && defined __extern_inline && !defined __clang__ # define __USE_EXTERN_INLINES 1 #endif - /* This is here only because every header file already includes this one. Get the definitions of all the appropriate `__stub_FUNCTION' symbols. <gnu/stubs.h> contains `#define __stub_FUNCTION' when FUNCTION is a stub |