Author: Will Singleton
Date: 12:07:02 01/08/99
Go up one level in this thread
On January 08, 1999 at 02:13:10, Eugene Nalimov wrote: >On January 07, 1999 at 21:17:11, Will Singleton wrote: > >>On January 07, 1999 at 20:29:16, Eugene Nalimov wrote: >> >>>It's easy to insert #if in the source... The only problem is >>>that I never used Mac, so I don't know what character is used >>>as directory separator there. >>> >>>IS THERE PERSON WHO EVER USED MAC? HOW THE I HAVE TO WRITE THE >>>FOLLOWING: "c:\TB\kpk.tbb" THERE? >>> >>>Eugene >> >>:tb:kpk.tbb >> >>That is, if the drive is named "hd1", it would be hd1:tb:kpk.tbb >> >>Will > >Thanks. Is there way to determine that program was compiled >under MacOS - what symbols C compilers defines? I.e. under >Windows, symbol _WIN32 usually is defined, so I can write > >#if defined (_WIN32) > Windows-specific code >#elif defined (???) > Mac-specific code >#else > Unix-specific code >#endif > >Eugene #elif defined (MACOS) Mac-specific code I use CodeWarrior. Will
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.