Commit 029277b7 by Dale Johannesen Committed by Frank Ch. Eigler

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
parent d836edf8
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> 2004-08-03 Frank Ch. Eigler <fche@redhat.com>
* mf-runtime.c (compare_uintptr_t): Remove function. Inline * mf-runtime.c (compare_uintptr_t): Remove function. Inline
......
...@@ -35,7 +35,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA ...@@ -35,7 +35,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
/* These attempt to coax various unix flavours to declare all our /* These attempt to coax various unix flavours to declare all our
needed tidbits in the system headers. */ needed tidbits in the system headers. */
#if !defined(__FreeBSD__) #if !defined(__FreeBSD__) && !defined(__APPLE__)
#define _POSIX_SOURCE #define _POSIX_SOURCE
#endif /* Some BSDs break <sys/socket.h> if this is defined. */ #endif /* Some BSDs break <sys/socket.h> if this is defined. */
#define _GNU_SOURCE #define _GNU_SOURCE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment