OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf0296
)
- for extern inline, also take __extern_inline and __GNUC_GNU_INLINE__ into account
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 6 Sep 2008 16:45:07 +0000
(16:45 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Sat, 6 Sep 2008 16:45:07 +0000
(16:45 -0000)
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index
6a4fef7
..
defdd04
100644
(file)
--- 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