summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/stdint.h
blob: 3abdcc41090282284a1544961c2f53a58640bb17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 * @file  rtems/stdint.h
 *
 * Wrapper to <stdint.h>, switching to <inttypes.h> on systems 
 * only having <inttypes.h> (e.g. Solaris-5.7).
 */
 
/*
 * $Id$
 */

#ifndef __rtems_stdint_h
#define __rtems_stdint_h

#include <rtems/score/cpuopts.h>

#if RTEMS_USES_STDINT_H
#include <stdint.h>

#else
#include <inttypes.h>
#endif

#endif