[pypy-commit] cffi default: win64 fix
arigo
noreply at buildbot.pypy.org
Fri Oct 16 03:14:37 EDT 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r2342:0df91a104b01
Date: 2015-10-16 09:14 +0200
http://bitbucket.org/cffi/cffi/changeset/0df91a104b01/
Log: win64 fix
diff --git a/testing/cffi0/test_parsing.py b/testing/cffi0/test_parsing.py
--- a/testing/cffi0/test_parsing.py
+++ b/testing/cffi0/test_parsing.py
@@ -370,7 +370,7 @@
tp = ffi.typeof("int(*)(int __stdcall x(int),"
" long (__cdecl*y)(void),"
" short(WINAPI *z)(short))")
- if sys.platform == 'win32':
+ if sys.platform == 'win32' and sys.maxsize < 2**32:
stdcall = '__stdcall '
else:
stdcall = ''
More information about the pypy-commit
mailing list