From 587d7092180a5f2053906b87ea2b25b2bf6b34c6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 2 Mar 2011 22:42:47 +0100 Subject: 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 --- include/features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/features.h') 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 -- cgit v1.2.3