patch applied (ghc): Change our #defines to work on FreeBSD too

Simon Marlow marlowsd at gmail.com
Mon May 24 08:24:02 EDT 2010


Mon May 24 03:58:28 PDT 2010  Simon Marlow <marlowsd at gmail.com>
  * 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 at FreeBSD.org>

    M ./rts/PosixSource.h -6 +2

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20100524105828-12142-ebcb8ea7b2e60214d640d8a96761fce526201bc7.gz



More information about the Cvs-ghc mailing list