Commit 88661e8f authored by Guido van Rossum's avatar Guido van Rossum

Subtle Windows changes

parent fb0df944
......@@ -35,7 +35,7 @@ from GNU regexp.
#include <stdlib.h>
#include <string.h>
#else
#ifdef __STDC__
#if defined(__STDC__) || defined(_MSC_VER)
/* Don't mess around, use the standard headers */
#include <stdlib.h>
#include <string.h>
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment