From: Eric Smith Date: Sat, 23 Feb 2008 16:05:26 +0000 (+0000) Subject: Removed duplicate Py_CHARMASK define. It's already defined in Python.h. X-Git-Tag: v2.6a1~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8328bbc57dccbcbd834f822c2c9c70bd2ad199eb;p=thirdparty%2FPython%2Fcpython.git Removed duplicate Py_CHARMASK define. It's already defined in Python.h. --- diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index a02992f61711..cb3c0121ad67 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 */