Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-01

OS X also has UNIX defined

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Den Jean

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

Reply by email

Marco van de Voort
to Den Jean
Show quoted text 17 lines
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.

Reply by email

Jonas Maebe
to Den Jean: based on this http://www.freepascal.org/docs-html/prog/progap7.html#x310-311000G I…
Den Jean wrote 6 lines
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.

It's not a mistake, Mac OS X is also a Unix (as of 10.5.x even certified as conforming to the Single Unix Specification v3).

Jonas

Reply by email