summaryrefslogtreecommitdiff
path: root/libmudflap/mf-runtime.c
diff options
context:
space:
mode:
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 14:19:26 +0000
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-03 14:19:26 +0000
commit896a8c9e4ae5ce9249e610914b42d7f4c85f387b (patch)
tree4caf0f7bcc51a72201f08b5ec6335cca1f6ac6e6 /libmudflap/mf-runtime.c
parente9ee282e1a7ffb499b706caad9ad0f3b8cef676e (diff)
downloadgcc-896a8c9e4ae5ce9249e610914b42d7f4c85f387b.tar.gz
2004-08-03 Dale Johannesen <dalej@apple.com>
* mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85478 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libmudflap/mf-runtime.c')
-rw-r--r--libmudflap/mf-runtime.c2
1 files changed, 1 insertions, 1 deletions
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 <sys/socket.h> if this is defined. */
#define _GNU_SOURCE