Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2014-08-16 01:21:59 +0400
committerCorinna Vinschen <corinna@vinschen.de>2014-08-16 01:21:59 +0400
commit4dd1ecc3d4840cff85838bc81fe96bb496703cdb (patch)
tree3f48e904de111dbb3f9112df31f3af992a44051d /winsup/cygwin/winsup.h
parentfc15ff2f0dbcf759e2a5e9cdf648ba0241535e12 (diff)
* winsup.h (_GNU_SOURCE): Define. Explain why.
* configure.ac: Convert to new AC_INIT style. * configure: Regenerate.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index 770d4bb1c..2be96f8ef 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -26,6 +26,11 @@ details. */
#define _NO_W32_PSEUDO_MODIFIERS
+/* Newlib's guarding functions more diligently based on their origin, starting
+ since 2013. To be sure to get everything and the kitchen sink, we have to
+ define _GNU_SOURCE. */
+#define _GNU_SOURCE 1
+
#include <sys/types.h>
#include <sys/strace.h>