diff options
author | Eric Smith <eric@trueblade.com> | 2008-02-23 16:05:26 (GMT) |
---|---|---|
committer | Eric Smith <eric@trueblade.com> | 2008-02-23 16:05:26 (GMT) |
commit | 8328bbc57dccbcbd834f822c2c9c70bd2ad199eb (patch) | |
tree | 187a3b4a782b3aa208fa878fcc86a234915db0d0 /Python | |
parent | 322349e31b3c1472543428382b84a32d2fc2dfc7 (diff) | |
download | cpython-8328bbc57dccbcbd834f822c2c9c70bd2ad199eb.zip cpython-8328bbc57dccbcbd834f822c2c9c70bd2ad199eb.tar.gz cpython-8328bbc57dccbcbd834f822c2c9c70bd2ad199eb.tar.bz2 |
Removed duplicate Py_CHARMASK define. It's already defined in Python.h.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/mystrtoul.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index a02992f..cb3c012 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c @@ -5,14 +5,6 @@ #define _SGI_MP_SOURCE #endif -/* Convert a possibly signed character to a nonnegative int */ -/* XXX This assumes characters are 8 bits wide */ -#ifdef __CHAR_UNSIGNED__ -#define Py_CHARMASK(c) (c) -#else -#define Py_CHARMASK(c) ((c) & 0xff) -#endif - /* strtol and strtoul, renamed to avoid conflicts */ |