4.104.114.84.95
Last change
on this file since 19a0136 was
cc349f03,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/10/05 at 05:26:07
|
2005-11-10 Ralf Corsepius <ralf.corsepius@…>
- include/rtems/stdint.h: Disable RTEMS proprietary fixed-size types.
|
-
Property mode set to
100644
|
File size:
852 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file rtems/stdint.h |
---|
3 | * |
---|
4 | * Wrapper to <stdint.h>, switching to <inttypes.h> on systems |
---|
5 | * only having <inttypes.h> (e.g. Solaris-5.7). |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * $Id$ |
---|
10 | */ |
---|
11 | |
---|
12 | #ifndef _RTEMS_STDINT_H |
---|
13 | #define _RTEMS_STDINT_H |
---|
14 | |
---|
15 | #include <rtems/score/cpuopts.h> |
---|
16 | |
---|
17 | #if RTEMS_USES_STDINT_H |
---|
18 | #include <stdint.h> |
---|
19 | |
---|
20 | #else |
---|
21 | #include <inttypes.h> |
---|
22 | #endif |
---|
23 | |
---|
24 | #if RTEMS_DEPRECATED_TYPES |
---|
25 | typedef uint8_t unsigned8; /* unsigned 8-bit integer */ |
---|
26 | typedef uint16_t unsigned16; /* unsigned 16-bit integer */ |
---|
27 | typedef uint32_t unsigned32; /* unsigned 32-bit integer */ |
---|
28 | #if 0 |
---|
29 | typedef uint64_t unsigned64; /* unsigned 64-bit integer */ |
---|
30 | #endif |
---|
31 | |
---|
32 | typedef int8_t signed8; /* signed 8-bit integer */ |
---|
33 | typedef int16_t signed16; /* signed 16-bit integer */ |
---|
34 | typedef int32_t signed32; /* signed 32-bit integer */ |
---|
35 | #if 0 |
---|
36 | typedef int64_t signed64; /* signed 64-bit integer */ |
---|
37 | #endif |
---|
38 | #endif |
---|
39 | |
---|
40 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.