From 8fbefe28745f980579620147dd0c0fdef94374de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Mon, 19 Jul 2004 16:42:20 +0000 Subject: Patch #993173: Enable audioop on 64-bit platforms. --- Modules/Setup.dist | 1 + setup.py | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Modules/Setup.dist b/Modules/Setup.dist index 4cdff5e..6074b1b 100644 --- a/Modules/Setup.dist +++ b/Modules/Setup.dist @@ -223,6 +223,7 @@ GLHACK=-Dclear=__GLclear # Multimedia modules -- off by default. # These don't work for 64-bit platforms!!! +# #993173 says audioop works on 64-bit platforms, though. # These represent audio samples or images as strings: #audioop audioop.c # Operations on audio samples diff --git a/setup.py b/setup.py index 93a2bde..7d281bf 100644 --- a/setup.py +++ b/setup.py @@ -407,10 +407,13 @@ class PyBuildExt(build_ext): # These don't work for 64-bit platforms!!! # These represent audio samples or images as strings: + # According to #993173, this one should actually work fine on + # 64-bit platforms. + exts.append( Extension('audioop', ['audioop.c']) ) + # Disabled on 64-bit platforms if sys.maxint != 9223372036854775807L: # Operations on audio samples - exts.append( Extension('audioop', ['audioop.c']) ) # Operations on images exts.append( Extension('imageop', ['imageop.c']) ) # Read SGI RGB image files (but coded portably) -- cgit v0.12