delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/26/16:02:38

Date: Wed, 26 Apr 2000 16:19:16 -0400 (EDT)
Message-Id: <200004262019.QAA24216@indy.delorie.com>
From: Eli Zaretskii <eliz AT delorie DOT com>
To: ams AT ludd DOT luth DOT se
CC: djgpp-workers AT delorie DOT com
In-reply-to: <200004252025.WAA07905@father.ludd.luth.se> (message from Martin
Str|mberg on Tue, 25 Apr 2000 22:25:01 +0200 (MET DST))
Subject: Re: restrict
References: <200004252025 DOT WAA07905 AT father DOT ludd DOT luth DOT se>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
> Date: Tue, 25 Apr 2000 22:25:01 +0200 (MET DST)
> 
> According to Eli Zaretskii:
> > I suggest the following:
> > 
> >     #if __STDC_VERSION__ >= 199901
> >     #elif __GNUC__ >= 2 && __GNUC_MINOR__ >= 91
> >     #define restrict __restrict__
> >     #else
> >     #define restrict
> >     #endif
> 
> Two questions:
> 
> Where does __STDC_VERSION__ come from?

I think it should come from the compiler.  No?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019