mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30851)
This commit is contained in:
parent
7cf285d82e
commit
6e5a193816
5 changed files with 2 additions and 46 deletions
|
@ -5,13 +5,6 @@
|
|||
|
||||
#include "Python.h"
|
||||
|
||||
#if defined(__CHAR_UNSIGNED__)
|
||||
#if defined(signed)
|
||||
/* This module currently does not work on systems where only unsigned
|
||||
characters are available. Take it out of Setup. Sorry. */
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static const int maxvals[] = {0, 0x7F, 0x7FFF, 0x7FFFFF, 0x7FFFFFFF};
|
||||
/* -1 trick is needed on Windows to support -0x80000000 without a warning */
|
||||
static const int minvals[] = {0, -0x80, -0x8000, -0x800000, -0x7FFFFFFF-1};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue