From 029277b7c7c905897af2cd98a0bca375c876f0b1 Mon Sep 17 00:00:00 2001 From: Dale Johannesen Date: Tue, 3 Aug 2004 14:19:26 +0000 Subject: [PATCH] mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. 2004-08-03 Dale Johannesen * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. From-SVN: r85478 --- libmudflap/ChangeLog | 4 ++++ libmudflap/mf-runtime.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.30.2