diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-01-21 00:47:54 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-01-21 00:47:54 -0500 |
commit | 6e3c3c3f19761e35b6320d5ec883f7089e01e2b6 (patch) | |
tree | 76f306670b448f728430cfa61090816e655d4b75 /setup.py | |
parent | 1b6e5381c326215fd0529832ec87c7b7056b8677 (diff) | |
download | cpython-git-6e3c3c3f19761e35b6320d5ec883f7089e01e2b6.tar.gz |
detect 64-bit systems using maxsize not maxint
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -696,7 +696,7 @@ class PyBuildExt(build_ext): exts.append( Extension('audioop', ['audioop.c']) ) # Disabled on 64-bit platforms - if sys.maxint != 9223372036854775807L: + if sys.maxsize != 9223372036854775807L: # Operations on images exts.append( Extension('imageop', ['imageop.c']) ) else: |