#ifdef vs. #if defined(...)

2003-09-02 Thread Voguemaster
Hi list, I'm writing a portable set of classes for a network application (the classes will be reused) for Win32 and Linux. I don't wish to use external libraries since those are simple primitives. I'm generally using some #ifdef statements (although I've minimized their use using a header file

Re: #ifdef vs. #if defined(...)

2003-09-02 Thread Oleg Goldshmidt
Voguemaster [EMAIL PROTECTED] writes: Hi list, I'm writing a portable set of classes for a network application (the classes will be reused) for Win32 and Linux. I don't wish to use external libraries since those are simple primitives. I'm generally using some #ifdef statements (although

Re: #ifdef vs. #if defined(...)

2003-09-02 Thread Shlomi Fish
On Tue, 2 Sep 2003, Voguemaster wrote: Hi list, I'm writing a portable set of classes for a network application (the classes will be reused) for Win32 and Linux. I don't wish to use external libraries since those are simple primitives. I'm generally using some #ifdef statements (although