Files
rtems/testsuites/support/include/primode.h
Amar Takhar 662ad275f7 ascii: Remove non-ASCII characters from names
There are only the 3 names in our entire source that use non-ASCII characters.
Our documentation can still use any type of character.  We want to limit source
to ASCII for safety reasons.
2025-05-22 19:35:12 +00:00

28 lines
531 B
C

/*
* Copyright (c) 2011 by
* Ralf Corsepius, Ulm, Germany. All rights reserved.
*
* Permission to use, copy, modify, and distribute this software
* is freely granted, provided that this notice is preserved.
*/
/*
* Helper macro to print "time_t"
*/
#ifndef _PRIMODE_H
#define _PRIMODE_H
#include <inttypes.h>
#include <rtems/score/cpuopts.h>
#if __RTEMS_SIZEOF_MODE_T__ == 8
#define PRIomode_t PRIo64
#elif __RTEMS_SIZEOF_MODE_T__ == 4
#define PRIomode_t PRIo32
#else
#error "unsupported size of mode_t"
#endif
#endif