At Thu, 22 Apr 2004 9:06pm +0400, Arkady V.Belousov wrote: > Hi! > > 22-сав-2004 11:26 [EMAIL PROTECTED] (Alain) wrote to > [EMAIL PROTECTED]: > > A> In fact they get a lop more intermixed than this. What happens if I write > A> #if NET_ABP == 1 > A> and NET_ABP is not defined? or even > A> #if defined(NET_ABP) && NET_ABP == 1 > > Standard says: if name not defined, it replaced by 0. Consequently, you > may use first condition: > > #if NET_ABP == 1
I would've thought that #ifdef NET_ABP #if NET_ABP == 1 /* ... */ #endif #endif would be safer... -uso. ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg297 _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel