OSDN Git Service

2004-08-03 Dale Johannesen <dalej@apple.com>
authorfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Aug 2004 14:19:26 +0000 (14:19 +0000)
committerfche <fche@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 3 Aug 2004 14:19:26 +0000 (14:19 +0000)
         * 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

libmudflap/ChangeLog
libmudflap/mf-runtime.c

index 7235910..dcd649f 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-03  Dale Johannesen  <dalej@apple.com>
+
+         * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
+
 2004-08-03  Frank Ch. Eigler  <fche@redhat.com>
 
        * mf-runtime.c (compare_uintptr_t): Remove function.  Inline
index d8ba775..f374577 100644 (file)
@@ -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