4.104.114.84.95
Last change
on this file since 58823ff was
f4e204c,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/27/03 at 16:17:31
|
2003-05-27 Ralf Corsepius <corsepiu@…>
PR 409:
- include/Makefile.am: Add rtems/stdint.h
- include/rtems/stdint.h: New.
|
-
Property mode set to
100644
|
File size:
536 bytes
|
Rev | Line | |
---|
[f4e204c] | 1 | /* |
---|
| 2 | * rtems/stdint.h |
---|
| 3 | * |
---|
| 4 | * ISO C99 integer types |
---|
| 5 | * |
---|
| 6 | * $Id$ |
---|
| 7 | */ |
---|
| 8 | |
---|
| 9 | #ifndef __rtems_stdint_h |
---|
| 10 | #define __rtems_stdint_h |
---|
| 11 | |
---|
| 12 | #ifdef __cplusplus |
---|
| 13 | extern "C" { |
---|
| 14 | #endif |
---|
| 15 | |
---|
| 16 | #include <rtems/score/types.h> |
---|
| 17 | |
---|
| 18 | /* |
---|
| 19 | * map RTEMS internal types onto C99 types |
---|
| 20 | */ |
---|
| 21 | typedef signed8 int8_t; |
---|
| 22 | typedef signed16 int16_t; |
---|
| 23 | typedef signed32 int32_t; |
---|
| 24 | typedef signed64 int64_t; |
---|
| 25 | |
---|
| 26 | typedef unsigned8 uint8_t; |
---|
| 27 | typedef unsigned16 uint16_t; |
---|
| 28 | typedef unsigned32 uint32_t; |
---|
| 29 | typedef unsigned64 uint64_t; |
---|
| 30 | |
---|
| 31 | #ifdef __cplusplus |
---|
| 32 | } |
---|
| 33 | #endif |
---|
| 34 | |
---|
| 35 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.