summaryrefslogtreecommitdiffstats
path: root/Modules/audioop.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-01-26 09:03:49 (GMT)
committerGitHub <noreply@github.com>2022-01-26 09:03:49 (GMT)
commit6e5a193816e1bdf11f5fb78d620995fd6987ccf8 (patch)
tree68da8f42e3c6e4f40209fb33b137814007411b2f /Modules/audioop.c
parent7cf285d82ec722d4225297366013e924805171f2 (diff)
downloadcpython-6e5a193816e1bdf11f5fb78d620995fd6987ccf8.zip
cpython-6e5a193816e1bdf11f5fb78d620995fd6987ccf8.tar.gz
cpython-6e5a193816e1bdf11f5fb78d620995fd6987ccf8.tar.bz2
bpo-46513: Remove AC_C_CHAR_UNSIGNED / __CHAR_UNSIGNED__ (GH-30851)
Diffstat (limited to 'Modules/audioop.c')
-rw-r--r--Modules/audioop.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/audioop.c b/Modules/audioop.c
index 3aeb6f0..2a5d805 100644
--- a/Modules/audioop.c
+++ b/Modules/audioop.c
@@ -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};