diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-06-26 22:59:49 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-06-26 22:59:49 (GMT) |
commit | 9b14ab367a2e6de589593be6b9bea6f688c17d60 (patch) | |
tree | b9108a661fd7b9542a1129890188b4b261c9b41e /PC/config.h | |
parent | ac93bc250128105ff4c5f2c9d30027dbb0486db7 (diff) | |
download | cpython-9b14ab367a2e6de589593be6b9bea6f688c17d60.zip cpython-9b14ab367a2e6de589593be6b9bea6f688c17d60.tar.gz cpython-9b14ab367a2e6de589593be6b9bea6f688c17d60.tar.bz2 |
Make Unicode work a bit better on Windows...
Diffstat (limited to 'PC/config.h')
-rw-r--r-- | PC/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index 3b81a45..341f9bb 100644 --- a/PC/config.h +++ b/PC/config.h @@ -484,6 +484,15 @@ typedef unsigned long uintptr_t; /* Define if you want to use the GNU readline library */ /* #define WITH_READLINE 1 */ +/* Define if you want to have a Unicode type. */ +#define Py_USING_UNICODE + +/* Define as the integral type used for Unicode representation. */ +#define PY_UNICODE_TYPE unsigned short + +/* Define as the size of the unicode type. */ +#define Py_UNICODE_SIZE SIZEOF_SHORT + /* Define if you want cycle garbage collection */ #define WITH_CYCLE_GC 1 |