From 88661e8f41eff20c232c8e2e3da0b8c2443b43a7 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 23 May 1996 22:55:58 +0000 Subject: [PATCH] Subtle Windows changes --- Modules/regexpr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/regexpr.c b/Modules/regexpr.c index 841f500d09..6d6bb0f3be 100644 --- a/Modules/regexpr.c +++ b/Modules/regexpr.c @@ -35,7 +35,7 @@ from GNU regexp. #include #include #else -#ifdef __STDC__ +#if defined(__STDC__) || defined(_MSC_VER) /* Don't mess around, use the standard headers */ #include #include @@ -912,7 +912,7 @@ regexp_t bufp; } #define INITIAL_FAILURES 128 /* initial # failure points to allocate */ -#define MAX_FAILURES 4100 /* max # of failure points before failing */ +#define MAX_FAILURES 4100L /* max # of failure points before failing */ int re_match_2(bufp, string1, size1, string2, size2, pos, regs, mstop) regexp_t bufp; -- 2.50.1