[120138] trunk/base/src/pextlib1.0/flock.c

jmr at macports.org jmr at macports.org
Fri May 16 16:29:04 PDT 2014


Revision: 120138
          https://trac.macports.org/changeset/120138
Author:   jmr at macports.org
Date:     2014-05-16 16:29:04 -0700 (Fri, 16 May 2014)
Log Message:
-----------
try _XOPEN_SOURCE for struct sigaction instead

Modified Paths:
--------------
    trunk/base/src/pextlib1.0/flock.c

Modified: trunk/base/src/pextlib1.0/flock.c
===================================================================
--- trunk/base/src/pextlib1.0/flock.c	2014-05-16 23:22:42 UTC (rev 120137)
+++ trunk/base/src/pextlib1.0/flock.c	2014-05-16 23:29:04 UTC (rev 120138)
@@ -41,7 +41,7 @@
 #include <errno.h>
 #include <inttypes.h>
 /* needed to get struct sigaction on some platforms */
-#define _POSIX_SOURCE
+#define _XOPEN_SOURCE 500L
 #include <signal.h>
 #include <string.h>
 #include <unistd.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140516/31386fc2/attachment-0001.html>


More information about the macports-changes mailing list