Author: Armin Rigo <[email protected]>
Branch: win32-stdcall
Changeset: r2320:8ed6cf0d1c90
Date: 2015-10-06 13:15 +0200
http://bitbucket.org/cffi/cffi/changeset/8ed6cf0d1c90/

Log:    fix

diff --git a/c/realize_c_type.c b/c/realize_c_type.c
--- a/c/realize_c_type.c
+++ b/c/realize_c_type.c
@@ -566,11 +566,13 @@
         case 0:
             abi = FFI_DEFAULT_ABI;
             break;
+        case 2:
 #if defined(MS_WIN32) && !defined(_WIN64)
-        case 2:
             abi = FFI_STDCALL;
+#else
+            abi = FFI_DEFAULT_ABI;
+#endif
             break;
-#endif
         default:
             PyErr_Format(FFIError, "abi number %d not supported", abi);
             Py_DECREF(y);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to