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 | |
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/ChangeLog | 8 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/types.h | 8 | ||||
-rw-r--r-- | cpukit/score/include/rtems/system.h | 2 |
3 files changed, 16 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 301acf8e26..ed7cd1c831 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,13 @@ 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>. + +2004-04-13 Ralf Corsepius <ralf_corsepius@rtems.org> + * configure.ac: Rework stdint.h/inttypes.h support. Add RTEMS_USES_STDINT_H. Add RTEMS_USES_INTTYPES_H. Remove NEED_STDINT_H. Remove NEED_INTTYPES_H. 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> diff --git a/cpukit/score/include/rtems/system.h b/cpukit/score/include/rtems/system.h index 8f9d6f3a1c..d0ca5748a3 100644 --- a/cpukit/score/include/rtems/system.h +++ b/cpukit/score/include/rtems/system.h @@ -143,7 +143,7 @@ typedef void * proc_ptr; #define FALSE (0) #endif -#include <stdint.h> +#include <rtems/stdint.h> #include <rtems/score/cpu.h> /* processor specific information */ #define stringify( _x ) # _x |