|
Message-ID: <20161212200126.GA27916@alpha.fifth.space> Date: Mon, 12 Dec 2016 21:01:26 +0100 From: Quentin Rameau <quinq@...th.space> To: musl@...ts.openwall.com Subject: [PATCH] features.h: define __inline to empty for pre-c99 non-gcc compilers --- After what we have discussed on IRC, I'm posting this one here so you have it at hand! --- include/features.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/features.h b/include/features.h index 3cc3e57..f4d651e 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 -- 2.10.2
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.