diff options
Diffstat (limited to 'Modules/sre.h')
-rw-r--r-- | Modules/sre.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/sre.h b/Modules/sre.h index bf58eb5..61a0208 100644 --- a/Modules/sre.h +++ b/Modules/sre.h @@ -14,7 +14,11 @@ #include "sre_constants.h" /* size of a code word (must be unsigned short or larger) */ +#ifdef USE_UCS4_STORAGE +#define SRE_CODE unsigned long +#else #define SRE_CODE unsigned short +#endif typedef struct { PyObject_VAR_HEAD |