aboutsummaryrefslogtreecommitdiffstats
path: root/support/regex.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-12-05 21:21:58 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-12-05 21:21:58 +0200
commit562bd6b5763decba10251f90c9320abd322f6fd7 (patch)
tree251453d22e2ae0a7696c0a1603869da2742eccc0 /support/regex.h
parentdf39482aeb06588dec07e3d25779547dbe9fd98b (diff)
parentc241cfac9f4b9cdf0a6d6cf1b1bee4f57f93943d (diff)
downloadegawk-562bd6b5763decba10251f90c9320abd322f6fd7.tar.gz
egawk-562bd6b5763decba10251f90c9320abd322f6fd7.tar.bz2
egawk-562bd6b5763decba10251f90c9320abd322f6fd7.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'support/regex.h')
-rw-r--r--support/regex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/regex.h b/support/regex.h
index 1bbbb26c..adddd9ee 100644
--- a/support/regex.h
+++ b/support/regex.h
@@ -28,6 +28,10 @@
#include <sys/types.h>
#endif
+#ifndef _LIBC
+#define __USE_GNU 1
+#endif
+
/* Allow the use in C++ code. */
#ifdef __cplusplus
extern "C" {