summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-07-19 16:42:20 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-07-19 16:42:20 (GMT)
commit8fbefe28745f980579620147dd0c0fdef94374de (patch)
tree21a4caa400761ad2aeaca2adb4505e70968f5abd
parentb0c319a905132bbeb0737364d405144ce5cdfd60 (diff)
downloadcpython-8fbefe28745f980579620147dd0c0fdef94374de.zip
cpython-8fbefe28745f980579620147dd0c0fdef94374de.tar.gz
cpython-8fbefe28745f980579620147dd0c0fdef94374de.tar.bz2
Patch #993173: Enable audioop on 64-bit platforms.
-rw-r--r--Modules/Setup.dist1
-rw-r--r--setup.py5
2 files changed, 5 insertions, 1 deletions
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)