diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-13 15:40:41 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-13 15:40:41 +0000 |
commit | 28b63352093eae20d5dd3e62666be6673c1938d5 (patch) | |
tree | 2dd9f79fb7100ac848fc50dc656a4d38e0850ca7 /cpukit/rtems/include/rtems/rtems | |
parent | 2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-28b63352093eae20d5dd3e62666be6673c1938d5.tar.bz2 |
2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org>
* rtems/include/rtems/rtems/types.h: Include <rtems/stdint.h>
instead of <stdint.h>.
Conditionally typedef rtems*signed64 types.
* score/include/rtems/system.h: Include <rtems/stdint.h> instead of
<stdint.h>.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/types.h b/cpukit/rtems/include/rtems/rtems/types.h index 6b5ea55775..2be19f8248 100644 --- a/cpukit/rtems/include/rtems/rtems/types.h +++ b/cpukit/rtems/include/rtems/rtems/types.h @@ -23,18 +23,24 @@ extern "C" { * RTEMS basic type definitions */ -#include <stdint.h> +#include <rtems/stdint.h> /* backward compatibility types */ typedef uint8_t rtems_unsigned8; typedef uint16_t rtems_unsigned16; typedef uint32_t rtems_unsigned32; +#if defined(uint64_t) +/* FIXME: Some targets do not have 64-bit types */ typedef uint64_t rtems_unsigned64; +#endif typedef int8_t rtems_signed8; typedef int16_t rtems_signed16; typedef int32_t rtems_signed32; +#if defined(int64_t) +/* FIXME: Some targets do not have 64-bit types */ typedef int64_t rtems_signed64; +#endif #include <rtems/score/heap.h> #include <rtems/score/object.h> |