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
This commit is contained in:
Dale Johannesen 2004-08-03 14:19:26 +00:00 committed by Frank Ch. Eigler
parent d836edf84f
commit 029277b7c7
2 changed files with 5 additions and 1 deletions

View 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

View 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