summaryrefslogtreecommitdiff
path: root/pc/config.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2018-09-08 21:42:19 +0300
committerArnold D. Robbins <arnold@skeeve.com>2018-09-08 21:42:19 +0300
commitff1c6aa3df9fb3432d3cdcc61be7fa2fdc1d517e (patch)
tree6d1fd586f141a44db08afe29675564da5daeef89 /pc/config.h
parentbd270ca4676197614da0d7b5d793c9c8b7cd333b (diff)
parent81f53c08b12ba4150e02a2dcb647d8176570fca1 (diff)
downloadgawk-ff1c6aa3df9fb3432d3cdcc61be7fa2fdc1d517e.tar.gz
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'pc/config.h')
-rw-r--r--pc/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pc/config.h b/pc/config.h
index 103c6caf..6ebf5975 100644
--- a/pc/config.h
+++ b/pc/config.h
@@ -510,6 +510,10 @@
/* force use of our version of strftime */
#undef USE_INCLUDED_STRFTIME
+/* This is required to compile Gnulib regex code. */
+#ifdef __MINGW32__
+#define _GNU_SOURCE 1
+#endif
/* Enable extensions on AIX 3, Interix. */
#ifndef _ALL_SOURCE
# undef _ALL_SOURCE