aboutsummaryrefslogtreecommitdiff
path: root/libffi/testsuite/libffi.call/ffitest.h
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/testsuite/libffi.call/ffitest.h')
-rw-r--r--libffi/testsuite/libffi.call/ffitest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libffi/testsuite/libffi.call/ffitest.h b/libffi/testsuite/libffi.call/ffitest.h
index 59ef032..0e95e16 100644
--- a/libffi/testsuite/libffi.call/ffitest.h
+++ b/libffi/testsuite/libffi.call/ffitest.h
@@ -67,6 +67,8 @@
#define PRIdLL "ld"
#undef PRIuLL
#define PRIuLL "lu"
+#define PRId8 "hd"
+#define PRIu8 "hu"
#define PRId64 "ld"
#define PRIu64 "lu"
#define PRIuPTR "lu"
@@ -81,6 +83,8 @@
#if defined(__sgi)
/* IRIX 6.5 <inttypes.h> provides all definitions, but only for C99
compilations. */
+#define PRId8 "hhd"
+#define PRIu8 "hhu"
#if (_MIPS_SZLONG == 32)
#define PRId64 "lld"
#define PRIu64 "llu"