diff options
author | Joel Sherrill <joel@rtems.org> | 2017-04-22 14:15:22 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-04-22 14:15:22 -0500 |
commit | 438ca2f5944082fc1851bdec8834b86173a0fc82 (patch) | |
tree | 9e8c2a12e940e25c1ff10eb3d79eb92595d30cb4 /testsuites/psxtests | |
parent | 8ed5889f87aefe92dd5777257c060bb6ecfe98b9 (diff) |
rtems/inttypes.h: Add blksize_t and blkcnt_t
Diffstat (limited to 'testsuites/psxtests')
-rw-r--r-- | testsuites/psxtests/include/pmacros.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/testsuites/psxtests/include/pmacros.h b/testsuites/psxtests/include/pmacros.h index 77cf3fb133..be1b8b7567 100644 --- a/testsuites/psxtests/include/pmacros.h +++ b/testsuites/psxtests/include/pmacros.h @@ -1,5 +1,5 @@ /* - * COPYRIGHT (c) 1989-2009. + * COPYRIGHT (c) 1989-2009, 2017. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -91,34 +91,6 @@ #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 - -#if SIZEOF_BLKSIZE_T == 8 -#define PRIxblksize_t PRIx64 -#elif SIZEOF_BLKSIZE_T == 4 -#define PRIxblksize_t PRIx32 -#else -/* Warn and fall back to "long" */ -#warning "unsupported size of blksize_t" -#define PRIxblksize_t "lx" -#endif - -#if SIZEOF_BLKSIZE_T == 8 -#define PRIxblkcnt_t PRIx64 -#elif SIZEOF_BLKSIZE_T == 4 -#define PRIxblkcnt_t PRIx32 -#else -/* Warn and fall back to "long" */ -#warning "unsupported size of blkcnt_t" -#define PRIxblkcnt_t "lx" -#endif - #endif /* end of file */ |