From 438ca2f5944082fc1851bdec8834b86173a0fc82 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Sat, 22 Apr 2017 14:15:22 -0500 Subject: rtems/inttypes.h: Add blksize_t and blkcnt_t --- testsuites/psxtests/include/pmacros.h | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'testsuites/psxtests/include') 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 */ -- cgit v1.2.3