mirror of https://github.com/python/cpython
Patch #993173: Enable audioop on 64-bit platforms.
This commit is contained in:
parent
b0c319a905
commit
8fbefe2874
|
@ -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
|
||||
|
|
5
setup.py
5
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)
|
||||
|
|
Loading…
Reference in New Issue