From: Dale Johannesen Date: Tue, 3 Aug 2004 14:19:26 +0000 (+0000) Subject: mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=029277b7c7c905897af2cd98a0bca375c876f0b1;p=gcc.git mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. 2004-08-03 Dale Johannesen * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. From-SVN: r85478 --- diff --git a/libmudflap/ChangeLog b/libmudflap/ChangeLog index 72359100dee..dcd649fe6bb 100644 --- a/libmudflap/ChangeLog +++ b/libmudflap/ChangeLog @@ -1,3 +1,7 @@ +2004-08-03 Dale Johannesen + + * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. + 2004-08-03 Frank Ch. Eigler * mf-runtime.c (compare_uintptr_t): Remove function. Inline diff --git a/libmudflap/mf-runtime.c b/libmudflap/mf-runtime.c index d8ba77531cf..f374577191a 100644 --- a/libmudflap/mf-runtime.c +++ b/libmudflap/mf-runtime.c @@ -35,7 +35,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA /* These attempt to coax various unix flavours to declare all our needed tidbits in the system headers. */ -#if !defined(__FreeBSD__) +#if !defined(__FreeBSD__) && !defined(__APPLE__) #define _POSIX_SOURCE #endif /* Some BSDs break if this is defined. */ #define _GNU_SOURCE