[fpc-devel] OS X also has UNIX defined
    Marco van de Voort 
    marcov at stack.nl
       
    Sat Jan  5 22:54:27 CET 2008
    
    
  
> 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 :-).
It is not a mistake, OS X defines Unix. 
> If not, please correct the docs.
Please submit a bugreport if you don't get a reply from Michael.
    
    
More information about the fpc-devel
mailing list