about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-12-12 21:01:26 +0100
committerRich Felker <dalias@aerifal.cx>2016-12-16 23:12:32 -0500
commitbfcf5735d08b4e57e0865006392822f8b526771a (patch)
tree81c12a13e010664952516beaed85961d3301fd8c /include
parentc1020cf21e7c09cf313c98b69d5c5af8f3895502 (diff)
downloadmusl-bfcf5735d08b4e57e0865006392822f8b526771a.tar.gz
musl-bfcf5735d08b4e57e0865006392822f8b526771a.tar.xz
musl-bfcf5735d08b4e57e0865006392822f8b526771a.zip
in public headers, don't assume pre-C99 compilers have __inline keyword
Diffstat (limited to 'include')
-rw-r--r--include/features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 3cc3e579..f4d651ef 100644
--- 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