mirror of
https://github.com/python/cpython.git
synced 2026-05-18 10:24:42 -04:00
Removed duplicate Py_CHARMASK define. It's already defined in Python.h.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user