summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-06 16:45:07 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-06 16:45:07 +0000
commit1cf466022bd863dd8f529d6da52480f445fceb96 (patch)
tree123f154cc6ccbf8c676d24a5e5b1f8854a532f4d
parent7cf029695b4d463a6a8c8e6b9568d4db7254e5a7 (diff)
- for extern inline, also take __extern_inline and __GNUC_GNU_INLINE__ into account
-rw-r--r--include/features.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h
index 6a4fef7c9..defdd04c6 100644
--- a/include/features.h
+++ b/include/features.h
@@ -367,7 +367,8 @@
/* Decide whether we can define 'extern inline' functions in headers. */
#if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \
- && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__
+ && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ \
+ && (defined __extern_inline || defined __GNUC_GNU_INLINE__)
# define __USE_EXTERN_INLINES 1
#endif