diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2009-12-15 23:55:56 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2009-12-15 23:55:56 +0000 |
commit | 2516c7cd1e38e71942b126754c812a5ff68a7f3a (patch) | |
tree | c7e3d11fffac869bf84867f2701ec49b0c11d8fa /libffi/testsuite | |
parent | 832fb657d63520656a4282624e40aa3c79476f37 (diff) | |
download | gcc-2516c7cd1e38e71942b126754c812a5ff68a7f3a.zip gcc-2516c7cd1e38e71942b126754c812a5ff68a7f3a.tar.gz gcc-2516c7cd1e38e71942b126754c812a5ff68a7f3a.tar.bz2 |
ffitest.h: Define PRIuPTR on PA HP-UX.
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX.
From-SVN: r155277
Diffstat (limited to 'libffi/testsuite')
-rw-r--r-- | libffi/testsuite/libffi.call/ffitest.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libffi/testsuite/libffi.call/ffitest.h b/libffi/testsuite/libffi.call/ffitest.h index 5f15778..52220a3 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__) |