msvc requires the printf change, not mingw
diff --git a/testsuite/libffi.call/ffitest.h b/testsuite/libffi.call/ffitest.h
index 53b009c..ee0323c 100644
--- a/testsuite/libffi.call/ffitest.h
+++ b/testsuite/libffi.call/ffitest.h
@@ -88,8 +88,8 @@
#endif
-/* MinGW kludge. */
-#if defined(_WIN64) | defined(_WIN32)
+/* msvc kludge. */
+#if defined _MSC_VER
#define PRIdLL "I64d"
#define PRIuLL "I64u"
#else