Change our #defines to work on FreeBSD too
authorSimon Marlow <marlowsd@gmail.com>
Mon, 24 May 2010 10:58:28 +0000 (10:58 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Mon, 24 May 2010 10:58:28 +0000 (10:58 +0000)
commit757d3c5aa87ff18c0cd8a27870ffc5d7836338ed
tree0e6e54a85dfe75fcfa1ac83a3ccb320380414925
parentb2e840ee0c95fb549d40950f43cc6e4afc177a46
Change our #defines to work on FreeBSD too
With glibc, things like _POSIX_C_SOURCE and _ISOC99_SOURCE are
additive, but on FreeBSD they are mutually exclusive.  However, it
turns out we only need to define _POSIX_C_SOURCE and _XOPEN_SOURCE to
get all the C99 stuff we need too, so there's no need for any #ifdefs.

Submitted by: Gabor PALI <pgj@FreeBSD.org>
rts/PosixSource.h