diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-02 22:42:47 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-03 18:22:51 +0100 |
commit | 587d7092180a5f2053906b87ea2b25b2bf6b34c6 (patch) | |
tree | 6712ac9b6f0027bf9e7d43fc1b58ba09b441c277 | |
parent | ca8f0d9cf39e60851e17f0c6dd5f3e4f51b64f5b (diff) |
make it possible to compile with -std=gnu99/c99 and use extern inlines
When compiled with -std=gnu99/c99 __GNUC_GNU_INLINE__ is not defined
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
-rw-r--r-- | include/features.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/features.h b/include/features.h index 1d47b5660..f4d70d70f 100644 --- a/include/features.h +++ b/include/features.h @@ -433,7 +433,7 @@ uClibc was built without large file support enabled. */ #if __GNUC_PREREQ (2, 7) && defined __OPTIMIZE__ \ && !defined __OPTIMIZE_SIZE__ && !defined __NO_INLINE__ \ - && (defined __extern_inline || defined __GNUC_GNU_INLINE__) + && (defined __extern_inline || defined __GNUC_GNU_INLINE__ || defined __GNUC_STDC_INLINE__) # define __USE_EXTERN_INLINES 1 #endif |