Re: Stuff [Might wanna read]

From: Chris Jacobson (fear@ATHENET.NET)
Date: 12/22/97


On 12/22/97 1:30 AM, Akuma/Chris Baggett/DOOMer (doomer@BAYOU.COM) stated:

>#if(n)def __SOMETHING_C__
>and i also see
>#if (!)defined(__SOMETHING_C__)
>
>i was wondering if there is a real (codewise) difference or if the
>only difference is that one is a GNU C extension and the other isn't.
>
>b/c if this is true, i may as well keep it the way i've been doing it
>(#ifdef)

#if (!)defined()
allows you to have multiple checks for define/!define in the same line.
#if(n)def
only allows one.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST