diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-06-26 22:40:47 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-06-26 22:40:47 (GMT) |
commit | 208efe56401ec6a1d7eef874fcc5848084d15692 (patch) | |
tree | a47db29b3aa0832106adaa5f7d9817ae3485b72f /PC | |
parent | e77f2e27987f99683b809981cb1230bfc566e7b7 (diff) | |
download | cpython-208efe56401ec6a1d7eef874fcc5848084d15692.zip cpython-208efe56401ec6a1d7eef874fcc5848084d15692.tar.gz cpython-208efe56401ec6a1d7eef874fcc5848084d15692.tar.bz2 |
Windows build broke from recent Unicode changes -- need to #define
SIZEOF_SHORT by hand here.
Also added dynamic check that SIZEOF_SHORT is correct for the platform (in
_testcapimodule).
Diffstat (limited to 'PC')
-rw-r--r-- | PC/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/PC/config.h b/PC/config.h index e146469..3b81a45 100644 --- a/PC/config.h +++ b/PC/config.h @@ -344,6 +344,7 @@ typedef unsigned long uintptr_t; #define Py_DEBUG #endif +#define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_LONG_LONG 8 |