[pypy-commit] cffi win32-stdcall: more of the same

arigo noreply at buildbot.pypy.org
Tue Oct 6 12:16:36 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: win32-stdcall
Changeset: r2317:107d94dda1b1
Date: 2015-10-06 12:17 +0200
http://bitbucket.org/cffi/cffi/changeset/107d94dda1b1/

Log:	more of the same

diff --git a/testing/cffi0/test_verify.py b/testing/cffi0/test_verify.py
--- a/testing/cffi0/test_verify.py
+++ b/testing/cffi0/test_verify.py
@@ -2249,7 +2249,7 @@
         int (*const call2)(int(__stdcall *cb)(int));
     """)
     lib = ffi.verify(r"""
-        #ifndef MS_WIN32
+        #ifndef _MSC_VER
         #  define __stdcall FOOBARBAZZZZZ
         #endif
         int call1(int(*cb)(int)) {
@@ -2303,7 +2303,7 @@
         int (__stdcall *const cb2)(int);
     """)
     lib = ffi.verify(r"""
-        #ifndef MS_WIN32
+        #ifndef _MSC_VER
         #  define __cdecl
         #  define __stdcall
         #endif
@@ -2345,7 +2345,7 @@
         int (__stdcall *const cb2)(int);
     """)
     lib = ffi.verify(r"""
-        #ifndef MS_WIN32
+        #ifndef _MSC_VER
         #  define __cdecl
         #  define __stdcall
         #endif
@@ -2379,7 +2379,7 @@
         struct point call2(int(__stdcall *cb)(struct point));
     """)
     lib = ffi.verify(r"""
-        #ifndef MS_WIN32
+        #ifndef _MSC_VER
         #  define __cdecl
         #  define __stdcall
         #endif


More information about the pypy-commit mailing list