summaryrefslogtreecommitdiff
path: root/testing/cffi0
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2015-10-06 12:17:03 +0200
committerArmin Rigo <arigo@tunes.org>2015-10-06 12:17:03 +0200
commit7710611e7d38cf7a1a2e567575af0076429c320b (patch)
tree63de978c8b4e51c13fc4acc1495efcf91bd0a574 /testing/cffi0
parent62ef2bc9a9f1c52cdd589194921d20200152eedd (diff)
downloadcffi-7710611e7d38cf7a1a2e567575af0076429c320b.tar.gz
more of the same
Diffstat (limited to 'testing/cffi0')
-rw-r--r--testing/cffi0/test_verify.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/cffi0/test_verify.py b/testing/cffi0/test_verify.py
index 7de287d..1a88777 100644
--- a/testing/cffi0/test_verify.py
+++ b/testing/cffi0/test_verify.py
@@ -2249,7 +2249,7 @@ def test_win32_calling_convention_0():
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 @@ def test_win32_calling_convention_1():
int (__stdcall *const cb2)(int);
""")
lib = ffi.verify(r"""
- #ifndef MS_WIN32
+ #ifndef _MSC_VER
# define __cdecl
# define __stdcall
#endif
@@ -2345,7 +2345,7 @@ def test_win32_calling_convention_2():
int (__stdcall *const cb2)(int);
""")
lib = ffi.verify(r"""
- #ifndef MS_WIN32
+ #ifndef _MSC_VER
# define __cdecl
# define __stdcall
#endif
@@ -2379,7 +2379,7 @@ def test_win32_calling_convention_3():
struct point call2(int(__stdcall *cb)(struct point));
""")
lib = ffi.verify(r"""
- #ifndef MS_WIN32
+ #ifndef _MSC_VER
# define __cdecl
# define __stdcall
#endif