ffitest.h: Define PRIuPTR on PA HP-UX.
* testsuite/libffi.call/ffitest.h: Define PRIuPTR on PA HP-UX. From-SVN: r155277
This commit is contained in:
parent
832fb657d6
commit
2516c7cd1e
2 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Add table
Reference in a new issue