From 8328bbc57dccbcbd834f822c2c9c70bd2ad199eb Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Sat, 23 Feb 2008 16:05:26 +0000 Subject: Removed duplicate Py_CHARMASK define. It's already defined in Python.h. --- Python/mystrtoul.c | 8 -------- 1 file changed, 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 */ -- cgit v0.12