[fpc-devel] OS X also has UNIX defined
Den Jean
Den.Jean at telenet.be
Sat Jan 5 22:49:24 CET 2008
Hi,
based on this
http://www.freepascal.org/docs-html/prog/progap7.html#x310-311000G
I thought that UNIX was not defined on OS X.
Table G.3: Possible defines when compiling using target OS
Target operating system Defines
linux LINUX, UNIX
freebsd FREEBSD, BSD, UNIX
Mac OS X DARWIN
I use it in the binding to mutually exclusive
separate Windows, OSX and the Group (Linux,*BSD)
But I found out that OSX has UNIX defined aswell.
I hope it is a mistake otherwise I have to search for
something else :-). If not, please correct the docs.
regards,
Den Jean
More information about the fpc-devel
mailing list