From 766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sat, 23 Jun 2012 14:17:39 +0200 Subject: [PATCH] Fix test_re failure under Windows. --- Modules/sre.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Modules/sre.h b/Modules/sre.h index 01abcb0aedf..00b52aaf4e5 100644 --- a/Modules/sre.h +++ b/Modules/sre.h @@ -14,12 +14,8 @@ #include "sre_constants.h" /* size of a code word (must be unsigned short or larger, and - large enough to hold a Py_UNICODE character) */ -#ifdef Py_UNICODE_WIDE + large enough to hold a UCS4 character) */ #define SRE_CODE Py_UCS4 -#else -#define SRE_CODE unsigned short -#endif typedef struct { PyObject_VAR_HEAD