* Allow mudflap to build on MacOS
@ 2004-07-29 2:54 Dale Johannesen
0 siblings, 0 replies; only message in thread
From: Dale Johannesen @ 2004-07-29 2:54 UTC (permalink / raw)
To: gcc-patches@gcc.gnu.org Patches; +Cc: Dale Johannesen
Analogous to existing code in mf-hooks*.c; somebody missed this one.
Bootstrapped on Darwin.
2004-07-28 Dale Johannesen <dalej@apple.com>
* mf-runtime.c: Conditionalize POSIX_SOURCE for Darwin.
Index: mf-runtime.c
===================================================================
RCS file: /cvs/gcc/gcc/libmudflap/mf-runtime.c,v
retrieving revision 1.14
diff -u -d -b -w -r1.14 mf-runtime.c
--- mf-runtime.c 27 Jul 2004 19:41:20 -0000 1.14
+++ mf-runtime.c 28 Jul 2004 17:23:38 -0000
@@ -35,7 +35,7 @@
/* 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-28 17:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-29 2:54 Allow mudflap to build on MacOS Dale Johannesen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).