Removed duplicate Py_CHARMASK define. It's already defined in Python.h.

This commit is contained in:
Eric Smith 2008-02-23 16:05:26 +00:00
parent 322349e31b
commit 8328bbc57d
1 changed files with 0 additions and 8 deletions

View 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 */