summaryrefslogtreecommitdiff
path: root/testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base')
-rw-r--r--testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base16
1 files changed, 11 insertions, 5 deletions
diff --git a/testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base b/testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base
index 52220a3..7b1c5ef 100644
--- a/testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base
+++ b/testsuite/libffi.call/.svn/text-base/ffitest.h.svn-base
@@ -2,11 +2,17 @@
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
-#include <stdint.h>
-#include <inttypes.h>
#include <ffi.h>
#include "fficonfig.h"
+#if defined HAVE_STDINT_H
+#include <stdint.h>
+#endif
+
+#if defined HAVE_INTTYPES_H
+#include <inttypes.h>
+#endif
+
#define MAX_ARGS 256
#define CHECK(x) !(x) ? abort() : 0
@@ -46,9 +52,9 @@
#endif
/* MinGW kludge. */
-#ifdef WIN64
-#define PRIdLL "PRId64"
-#define PRIuLL "PRIu64"
+#ifdef _WIN64
+#define PRIdLL "I64d"
+#define PRIuLL "I64u"
#else
#define PRIdLL "lld"
#define PRIuLL "llu"