From 6e3c3c3f19761e35b6320d5ec883f7089e01e2b6 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 21 Jan 2015 00:47:54 -0500 Subject: [PATCH] detect 64-bit systems using maxsize not maxint --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 7868b7b241..6a6ad239f1 100644 --- a/setup.py +++ b/setup.py @@ -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: -- 2.50.1