diff options
author | Stan Shebs <stanshebs@google.com> | 2018-01-19 12:25:34 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2019-04-26 12:08:19 -0700 |
commit | 4b957d975db9202c11354cee740bc9815c928a3a (patch) | |
tree | 0a42c2b94ab82ee882d8cbbbecfd3a0dc38bd96d | |
parent | 73efc556ac5c130f9fc95df337c48f3a5b555123 (diff) | |
download | glibc-4b957d975db9202c11354cee740bc9815c928a3a.tar.gz glibc-4b957d975db9202c11354cee740bc9815c928a3a.tar.xz glibc-4b957d975db9202c11354cee740bc9815c928a3a.zip |
Disallow extern inline if clang
-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 ba272078cf..c54a160dff 100644 --- a/include/features.h +++ b/include/features.h @@ -462,11 +462,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 |