Undefine WIN32 for pcre2grep under Cygwin.

This commit is contained in:
Philip.Hazel 2018-06-19 16:27:42 +00:00
parent 8af671a36d
commit b4aaf222d7
2 changed files with 5 additions and 2 deletions

View File

@ -67,6 +67,9 @@ EOF. The test looks to have come from a fuzzer.
default default of 10 000 000, some JIT tests of the match limit no longer
failed. All such tests now set 10 000 000 as the upper limit.
16. Another Windows related patch for pcregrep to ensure that WIN32 is
undefiined under Cygwin.
Version 10.31 12-February-2018
------------------------------

View File

@ -64,8 +64,8 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
/* Some cmake's define it still */
#if defined(__CYGWIN__) && !defined(WIN32)
#define WIN32
#if defined(__CYGWIN__) && defined(WIN32)
#undef WIN32
#endif
#ifdef WIN32