diff options
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" |