commit | 766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sat Jun 23 14:17:39 2012 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sat Jun 23 14:17:39 2012 +0200 |
tree | 4fb8d58d16e37d4670396d2cbb750f5dbcd32329 | |
parent | 463badf06ce33d9de88dfea645c1253f44588aad [diff] [blame] |
Fix test_re failure under Windows.
diff --git a/Modules/sre.h b/Modules/sre.h index 01abcb0..00b52aa 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