mirror of
https://github.com/fluencelabs/musl
synced 2025-04-24 23:02:14 +00:00
in public headers, don't assume pre-C99 compilers have __inline keyword
This commit is contained in:
parent
c1020cf21e
commit
bfcf5735d0
@ -24,6 +24,8 @@
|
|||||||
|
|
||||||
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
|
#if __STDC_VERSION__ >= 199901L || defined(__cplusplus)
|
||||||
#define __inline inline
|
#define __inline inline
|
||||||
|
#elif !defined(__GNUC__)
|
||||||
|
#define __inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if __STDC_VERSION__ >= 201112L
|
#if __STDC_VERSION__ >= 201112L
|
||||||
|
Loading…
x
Reference in New Issue
Block a user