source: rtems/testsuites/support/include/primode.h @ bb3484c9

5
Last change on this file since bb3484c9 was b422aa3f, checked in by Sebastian Huber <sebastian.huber@…>, on 04/26/18 at 14:05:45

tests: Remove configure feature checks

Update #3409.

  • Property mode set to 100644
File size: 532 bytes
Line 
1/*
2 * Copyright (c) 2011 by
3 * Ralf Corsépius, Ulm, Germany. All rights reserved.
4 *
5 * Permission to use, copy, modify, and distribute this software
6 * is freely granted, provided that this notice is preserved.
7 */
8
9/*
10 * Helper macro to print "time_t"
11 */
12
13#ifndef _PRIMODE_H
14#define _PRIMODE_H
15
16#include <inttypes.h>
17#include <rtems/score/cpuopts.h>
18
19#if __RTEMS_SIZEOF_MODE_T__ == 8
20#define PRIomode_t PRIo64
21#elif __RTEMS_SIZEOF_MODE_T__ == 4
22#define PRIomode_t PRIo32
23#else
24#error "unsupported size of mode_t"
25#endif
26
27#endif
Note: See TracBrowser for help on using the repository browser.