Skip to content

Commit

Permalink
Merge pull request #109 from greenstick/patch-1
Browse files Browse the repository at this point in the history
Update  compiler.py
  • Loading branch information
inducer committed May 25, 2016
2 parents 22c147e + e3864b5 commit 55fe89e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pycuda/compiler.py
Expand Up @@ -240,7 +240,7 @@ def compile(source, nvcc="nvcc", options=None, keep=False,
if code is not None:
options.extend(["-code", code])

if 'darwin' in sys.platform and sys.maxint == 9223372036854775807:
if 'darwin' in sys.platform and sys.maxsize == 9223372036854775807:
options.append('-m64')
elif 'win32' in sys.platform and sys.maxsize == 9223372036854775807:
options.append('-m64')
Expand Down

0 comments on commit 55fe89e

Please sign in to comment.