delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/10/08/09:34:03

From: Radical DOT NetSurfer AT delorie DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: #elif <Symbol>
Date: Mon, 08 Oct 2001 09:14:08 -0400
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <ih93stoj99pee2ok0rahub3ois3fi3pga3@4ax.com>
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-Complaints-To: newsabuse AT supernews DOT com
Lines: 19
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Which is proper:

...
#elif   SYMBOL
...

or instead:

#elif defined(SYMBOL)
...

the first seems to work without the defined()

and SYMBOL is a manifest constant:
#define SYMBOL something

thanks...


- Raw text -


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