From: Ulrich Drepper Date: Tue, 18 Aug 1998 23:16:34 +0000 (+0000) Subject: Define __USE_EXTERN_INLINES for recent enough gcc. X-Git-Tag: cvs/glibc-2_0_96~124 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eedbbe588f893e8bd93e65617d3fd98e172a3569;p=thirdparty%2Fglibc.git Define __USE_EXTERN_INLINES for recent enough gcc. --- diff --git a/include/features.h b/include/features.h index 935a113a3c9..8cfc990f692 100644 --- a/include/features.h +++ b/include/features.h @@ -248,6 +248,12 @@ # define __USE_LARGEFILE64 # endif +#endif /* !ASSEMBLER */ + +/* Decide whether we can define 'extern inline' functions in headers. */ +#if defined __GNUC__ && (__GNUC__ > 2 || __GNUC__ == 2 && __GNUC_MINOR__ >= 7)\ + && defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ +# define __USE_EXTERN_INLINES 1 #endif /* This is here only because every header file already includes this one. */