projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1020cf
)
in public headers, don't assume pre-C99 compilers have __inline keyword
author
Quentin Rameau
<quinq@fifth.space>
Mon, 12 Dec 2016 20:01:26 +0000
(21:01 +0100)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 17 Dec 2016 04:12:32 +0000
(23:12 -0500)
include/features.h
patch
|
blob
|
history
diff --git
a/include/features.h
b/include/features.h
index 3cc3e57933e1ae67c295e70d6108bb1b86b11f8f..f4d651efcd0a39b021fec66cdf1469b941654a5a 100644
(file)
--- a/
include/features.h
+++ b/
include/features.h
@@
-24,6
+24,8
@@
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
#define __inline inline
+#elif !defined(__GNUC__)
+#define __inline
#endif
#if __STDC_VERSION__ >= 201112L