Patch #993173: Enable audioop on 64-bit platforms.

This commit is contained in:
Martin v. Löwis 2004-07-19 16:42:20 +00:00
parent b0c319a905
commit 8fbefe2874
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)