aboutsummaryrefslogtreecommitdiff
path: root/libmudflap/mf-runtime.c
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2004-08-03 14:19:26 +0000
committerFrank Ch. Eigler <fche@gcc.gnu.org>2004-08-03 14:19:26 +0000
commit029277b7c7c905897af2cd98a0bca375c876f0b1 (patch)
tree4caf0f7bcc51a72201f08b5ec6335cca1f6ac6e6 /libmudflap/mf-runtime.c
parentd836edf84ffe456a95a8870651b7767566104740 (diff)
downloadgcc-029277b7c7c905897af2cd98a0bca375c876f0b1.zip
gcc-029277b7c7c905897af2cd98a0bca375c876f0b1.tar.gz
gcc-029277b7c7c905897af2cd98a0bca375c876f0b1.tar.bz2
mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
2004-08-03 Dale Johannesen <dalej@apple.com> * mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin. From-SVN: r85478
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 d8ba775..f374577 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