diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-05 21:21:13 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-05 21:21:13 +0200 |
commit | c241cfac9f4b9cdf0a6d6cf1b1bee4f57f93943d (patch) | |
tree | 9aff85be4eca9890c5cdaee8e2a4dfe419ab0a95 | |
parent | 62495dfc7853ccf2a35569000223941a5fe552ba (diff) | |
parent | e93e34a5aabc3a4fcca4b4d6e59aaca91c33d326 (diff) | |
download | egawk-c241cfac9f4b9cdf0a6d6cf1b1bee4f57f93943d.tar.gz egawk-c241cfac9f4b9cdf0a6d6cf1b1bee4f57f93943d.tar.bz2 egawk-c241cfac9f4b9cdf0a6d6cf1b1bee4f57f93943d.zip |
Merge branch 'gawk-4.2-stable'
-rw-r--r-- | support/ChangeLog | 4 | ||||
-rw-r--r-- | support/regex.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index 85d1b7b9..ac5468dc 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,7 @@ +2017-12-05 Arnold D. Robbins <arnold@skeeve.com> + + * regex.h: Yes define __USE_GNU. Needed for non-GLIBC systems. + 2017-12-01 Arnold D. Robbins <arnold@skeeve.com> * intprops.h: Sync with GNULIB. 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" { |