From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10789 Path: news.gmane.org!.POSTED!not-for-mail From: Quentin Rameau Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] features.h: define __inline to empty for pre-c99 non-gcc compilers Date: Mon, 12 Dec 2016 21:01:26 +0100 Message-ID: <20161212200126.GA27916@alpha.fifth.space> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: blaine.gmane.org 1481572904 27406 195.159.176.226 (12 Dec 2016 20:01:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2016 20:01:44 +0000 (UTC) User-Agent: Mutt/1.6.2 (2016-07-01) To: musl@lists.openwall.com Original-X-From: musl-return-10802-gllmg-musl=m.gmane.org@lists.openwall.com Mon Dec 12 21:01:41 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cGWn4-0006IT-Tu for gllmg-musl@m.gmane.org; Mon, 12 Dec 2016 21:01:39 +0100 Original-Received: (qmail 18405 invoked by uid 550); 12 Dec 2016 20:01:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 18379 invoked from network); 12 Dec 2016 20:01:38 -0000 Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:10789 Archived-At: --- 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