Cross platform portability?,
Members - Reputation: 122
Posted 09 October 2001 - 07:01 AM
Posted 09 October 2001 - 09:03 AM
I would include everything system specific in a seperate source file, divided by ifdef''s, and with a standard API. Don''t put multi-platform conditional compilation commands in your general code - that''s going to be #ifdef hell. But if you isolate everything, then this is IMO the best way to do it.