diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-09-08 20:05:37 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-09-08 20:05:37 +0300 |
commit | 81f53c08b12ba4150e02a2dcb647d8176570fca1 (patch) | |
tree | 6e9ca6fbf653822d11f53277904788b709089221 /pc/config.h | |
parent | 48c8fc07cc35539aa171116d0b77a6a47336b6fe (diff) | |
download | egawk-81f53c08b12ba4150e02a2dcb647d8176570fca1.tar.gz egawk-81f53c08b12ba4150e02a2dcb647d8176570fca1.tar.bz2 egawk-81f53c08b12ba4150e02a2dcb647d8176570fca1.zip |
Fix the MinGW build.
Diffstat (limited to 'pc/config.h')
-rw-r--r-- | pc/config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pc/config.h b/pc/config.h index 64ad9f97..77972517 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 |