projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82e611
)
Define __USE_EXTERN_INLINES for recent enough gcc.
author
Ulrich Drepper
<drepper@redhat.com>
Tue, 18 Aug 1998 23:16:34 +0000
(23:16 +0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Tue, 18 Aug 1998 23:16:34 +0000
(23:16 +0000)
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index
935a113
..
8cfc990
100644
(file)
--- 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. */