summaryrefslogtreecommitdiff
path: root/testsuite/libffi.call/ffitest.h
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2018-03-27 11:49:46 -0400
committerAnthony Green <green@moxielogic.com>2018-03-27 11:49:46 -0400
commita82b456e98b0f3fbafe76725d1a1503d458a2178 (patch)
tree82a3cb95c83d9da8101c5634e07f43c4f90bc19b /testsuite/libffi.call/ffitest.h
parenta2326aaf561798c3bfd5e464b16693a094bf6c45 (diff)
downloadlibffi-a82b456e98b0f3fbafe76725d1a1503d458a2178.tar.gz
msvc fixes
Diffstat (limited to 'testsuite/libffi.call/ffitest.h')
-rw-r--r--testsuite/libffi.call/ffitest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/libffi.call/ffitest.h b/testsuite/libffi.call/ffitest.h
index 5e19451..a823cfe 100644
--- a/testsuite/libffi.call/ffitest.h
+++ b/testsuite/libffi.call/ffitest.h
@@ -79,12 +79,14 @@
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
+#ifndef _MSC_VER
#define PRId8 "hd"
#define PRIu8 "hu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
#endif
+#endif
/* PA HP-UX kludge. */
#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR)