]> granicus.if.org Git - python/commitdiff
Removed duplicate Py_CHARMASK define. It's already defined in Python.h.
authorEric Smith <eric@trueblade.com>
Sat, 23 Feb 2008 16:05:26 +0000 (16:05 +0000)
committerEric Smith <eric@trueblade.com>
Sat, 23 Feb 2008 16:05:26 +0000 (16:05 +0000)
Python/mystrtoul.c

index a02992f61711d42ac5109b680ce1b576de2f6342..cb3c0121ad67799c913c8fc478ff7b2fa5c527e8 100644 (file)
@@ -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 */