From bfcf5735d08b4e57e0865006392822f8b526771a Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Mon, 12 Dec 2016 21:01:26 +0100 Subject: [PATCH] in public headers, don't assume pre-C99 compilers have __inline keyword --- include/features.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- GitLab