diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 12:17:39 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2012-06-23 12:17:39 (GMT) |
commit | 766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2 (patch) | |
tree | 4fb8d58d16e37d4670396d2cbb750f5dbcd32329 /Modules | |
parent | 463badf06ce33d9de88dfea645c1253f44588aad (diff) | |
download | cpython-766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2.zip cpython-766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2.tar.gz cpython-766a16efe7bf5d3c72bd4276aeda1fca8d6a7cd2.tar.bz2 |
Fix test_re failure under Windows.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/sre.h | 6 |
1 files changed, 1 insertions, 5 deletions
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 |