From e93e34a5aabc3a4fcca4b4d6e59aaca91c33d326 Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Tue, 5 Dec 2017 21:20:19 +0200 Subject: Define __USE_GNU in support/regex.h. --- support/ChangeLog | 4 ++++ support/regex.h | 4 ++++ 2 files changed, 8 insertions(+) (limited to 'support') diff --git a/support/ChangeLog b/support/ChangeLog index a4520ece..d580505f 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,3 +1,7 @@ +2017-12-05 Arnold D. Robbins + + * regex.h: Yes define __USE_GNU. Needed for non-GLIBC systems. + 2017-12-01 Arnold D. Robbins * 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 #endif +#ifndef _LIBC +#define __USE_GNU 1 +#endif + /* Allow the use in C++ code. */ #ifdef __cplusplus extern "C" { -- cgit v1.2.3