summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/include
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2017-04-22 14:15:22 -0500
committerJoel Sherrill <joel@rtems.org>2017-04-22 14:15:22 -0500
commit438ca2f5944082fc1851bdec8834b86173a0fc82 (patch)
tree9e8c2a12e940e25c1ff10eb3d79eb92595d30cb4 /testsuites/psxtests/include
parentelnk.c: Fix printf() format warnings (diff)
downloadrtems-438ca2f5944082fc1851bdec8834b86173a0fc82.tar.bz2
rtems/inttypes.h: Add blksize_t and blkcnt_t
Diffstat (limited to 'testsuites/psxtests/include')
-rw-r--r--testsuites/psxtests/include/pmacros.h30
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 */