Not necessarily. You could have different versions of the same include
file, and include the one that's appropriate for that platform. Palm OS
Emulator -- now running on Mac, Windows, and Unix -- takes this approach
with its EmulatorCommon.h header file. Overall, it has very few #ifdefs
(and still probably has more than it could/should).
-- Keith Rollin
-- Palm OS Emulator engineer
"David Williams" <[EMAIL PROTECTED]> on 05/13/99 06:37:09 PM
Please respond to [EMAIL PROTECTED]
Sent by: "David Williams" <[EMAIL PROTECTED]>
To: Keith Rollin/HQ/3Com
cc: [EMAIL PROTECTED]
Subject: Re: does CodeWarrior predefine a preprocessor symbol when
building for Palm?
[EMAIL PROTECTED] wrote:
>
> Personally, I don't really consider a file so laden with #ifdefs to be
> cross-platform....
Agreed, but _one_ (include) file has to have this stuff in it.
djw