diff options
author | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-15 23:55:56 +0000 |
---|---|---|
committer | danglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-12-15 23:55:56 +0000 |
commit | 2fb9cd2f15c47cac2355858615a03cef9f878b16 (patch) | |
tree | c7e3d11fffac869bf84867f2701ec49b0c11d8fa /libffi | |
parent | 799fbd1bc1236d324e8900da09df2c9c11d9a09d (diff) | |
download | gcc-2fb9cd2f15c47cac2355858615a03cef9f878b16.tar.gz |
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155277 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi')
-rw-r--r-- | libffi/ChangeLog | 4 | ||||
-rw-r--r-- | libffi/testsuite/libffi.call/ffitest.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 647e91f55da..0d14813f74f 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,7 @@ +2009-12-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX. + 2009-12-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> * src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE diff --git a/libffi/testsuite/libffi.call/ffitest.h b/libffi/testsuite/libffi.call/ffitest.h index 5f157788291..52220a39b24 100644 --- a/libffi/testsuite/libffi.call/ffitest.h +++ b/libffi/testsuite/libffi.call/ffitest.h @@ -54,6 +54,11 @@ #define PRIuLL "llu" #endif +/* PA HP-UX kludge. */ +#if defined(__hppa__) && defined(__hpux__) && !defined(PRIuPTR) +#define PRIuPTR "lu" +#endif + /* Solaris < 10 kludge. */ #if defined(__sun__) && defined(__svr4__) && !defined(PRIuPTR) #if defined(__arch64__) || defined (__x86_64__) |