[Python-checkins] r60990 - python/trunk/Python/mystrtoul.c
eric.smith
python-checkins at python.org
Sat Feb 23 17:05:26 CET 2008
Author: eric.smith
Date: Sat Feb 23 17:05:26 2008
New Revision: 60990
Modified:
python/trunk/Python/mystrtoul.c
Log:
Removed duplicate Py_CHARMASK define. It's already defined in Python.h.
Modified: python/trunk/Python/mystrtoul.c
==============================================================================
--- python/trunk/Python/mystrtoul.c (original)
+++ python/trunk/Python/mystrtoul.c Sat Feb 23 17:05:26 2008
@@ -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 */
More information about the Python-checkins
mailing list