From: Quentin Rameau Date: Mon, 12 Dec 2016 20:01:26 +0000 (+0100) Subject: in public headers, don't assume pre-C99 compilers have __inline keyword X-Git-Tag: v1.1.16~12 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bfcf5735d08b4e57e0865006392822f8b526771a;p=oweals%2Fmusl.git in public headers, don't assume pre-C99 compilers have __inline keyword --- 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