Kaydet (Commit) 766a16ef authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix test_re failure under Windows.

üst 463badf0
...@@ -14,12 +14,8 @@ ...@@ -14,12 +14,8 @@
#include "sre_constants.h" #include "sre_constants.h"
/* size of a code word (must be unsigned short or larger, and /* size of a code word (must be unsigned short or larger, and
large enough to hold a Py_UNICODE character) */ large enough to hold a UCS4 character) */
#ifdef Py_UNICODE_WIDE
#define SRE_CODE Py_UCS4 #define SRE_CODE Py_UCS4
#else
#define SRE_CODE unsigned short
#endif
typedef struct { typedef struct {
PyObject_VAR_HEAD PyObject_VAR_HEAD
......
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