View Full Version : Cross Platform
09-20-2000, 06:33 AM
Related but not completely opengl I know but, what is the safest way of checking os in the preprocessor for unix/irix/mac/windows etc?
10-09-2000, 05:59 AM
In answer to my own question! :-0
May not be the safest but check for
to be defined, chack for Capitalisation etc. as
DJ Tricky S
10-29-2000, 07:50 PM
#ifdef macintosh // mac
#elif windows // windows
#elif ... you get the idea
Just check through the system headers for the appropriate definitions to check for.
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.