From: Antoine Pitrou Date: Sat, 23 Jun 2012 12:17:39 +0000 (+0200) Subject: Fix test_re failure under Windows. X-Git-Tag: v3.3.0b1~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2;p=python Fix test_re failure under Windows. --- diff --git a/Modules/sre.h b/Modules/sre.h index 01abcb0aed..00b52aaf4e 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