diff options
Diffstat (limited to 'testsuites/psxtests/include')
-rw-r--r-- | testsuites/psxtests/include/pmacros.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuites/psxtests/include/pmacros.h b/testsuites/psxtests/include/pmacros.h index be9f35c8e5..378e93a6e9 100644 --- a/testsuites/psxtests/include/pmacros.h +++ b/testsuites/psxtests/include/pmacros.h @@ -93,6 +93,14 @@ #define empty_line() puts( "" ) +#if SIZEOF_OFF_T == 8 +#define PRIdoff_t PRIo64 +#elif SIZEOF_OFF_T == 4 +#define PRIdoff_t PRIo32 +#else +#error "unsupported size of off_t" +#endif + #endif /* end of file */ |