diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-04-26 16:05:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-05-02 07:11:03 +0200 |
commit | b422aa3f4a8ecb27bc76c3c5f29d34e007564315 (patch) | |
tree | 3306e82c8ea3b7d6247d94f8fc04d1953725fe8d /testsuites/support/include/primode.h | |
parent | Drop executable permissions on .[ch] files (diff) | |
download | rtems-b422aa3f4a8ecb27bc76c3c5f29d34e007564315.tar.bz2 |
tests: Remove configure feature checks
Update #3409.
Diffstat (limited to 'testsuites/support/include/primode.h')
-rw-r--r-- | testsuites/support/include/primode.h | 9 |
1 files changed, 3 insertions, 6 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" |