summaryrefslogtreecommitdiffstats
path: root/testsuites/support/include
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-04-26 16:05:45 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-05-02 07:11:03 +0200
commitb422aa3f4a8ecb27bc76c3c5f29d34e007564315 (patch)
tree3306e82c8ea3b7d6247d94f8fc04d1953725fe8d /testsuites/support/include
parentDrop executable permissions on .[ch] files (diff)
downloadrtems-b422aa3f4a8ecb27bc76c3c5f29d34e007564315.tar.bz2
tests: Remove configure feature checks
Update #3409.
Diffstat (limited to 'testsuites/support/include')
-rw-r--r--testsuites/support/include/primode.h9
-rw-r--r--testsuites/support/include/pritime.h9
2 files changed, 6 insertions, 12 deletions
diff --git a/testsuites/support/include/primode.h b/testsuites/support/include/primode.h
index f1efe7ea02..551ae22ea6 100644
--- a/testsuites/support/include/primode.h
+++ b/testsuites/support/include/primode.h
@@ -14,14 +14,11 @@
#define _PRIMODE_H
#include <inttypes.h>
+#include <rtems/score/cpuopts.h>
-#ifndef SIZEOF_MODE_T
-#error "missing SIZEOF_MODE_T"
-#endif
-
-#if SIZEOF_MODE_T == 8
+#if __RTEMS_SIZEOF_MODE_T__ == 8
#define PRIomode_t PRIo64
-#elif SIZEOF_MODE_T == 4
+#elif __RTEMS_SIZEOF_MODE_T__ == 4
#define PRIomode_t PRIo32
#else
#error "unsupported size of mode_t"
diff --git a/testsuites/support/include/pritime.h b/testsuites/support/include/pritime.h
index 97117b94fa..fea5e62cf4 100644
--- a/testsuites/support/include/pritime.h
+++ b/testsuites/support/include/pritime.h
@@ -14,14 +14,11 @@
#define _PRITIME_H
#include <inttypes.h>
+#include <rtems/score/cpuopts.h>
-#ifndef SIZEOF_TIME_T
-#error "missing SIZEOF_TIME_T"
-#endif
-
-#if SIZEOF_TIME_T == 8
+#if __RTEMS_SIZEOF_TIME_T__ == 8
#define PRIdtime_t PRId64
-#elif SIZEOF_TIME_T == 4
+#elif __RTEMS_SIZEOF_TIME_T__ == 4
#define PRIdtime_t PRId32
#else
#error "unsupported size of time_t"