From 28b63352093eae20d5dd3e62666be6673c1938d5 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 13 Apr 2004 15:40:41 +0000 Subject: 2004-04-13 Ralf Corsepius * rtems/include/rtems/rtems/types.h: Include instead of . Conditionally typedef rtems*signed64 types. * score/include/rtems/system.h: Include instead of . --- cpukit/ChangeLog | 8 ++++++++ cpukit/rtems/include/rtems/rtems/types.h | 8 +++++++- cpukit/score/include/rtems/system.h | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 301acf8e26..ed7cd1c831 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,11 @@ +2004-04-13 Ralf Corsepius + + * rtems/include/rtems/rtems/types.h: Include + instead of . + Conditionally typedef rtems*signed64 types. + * score/include/rtems/system.h: Include instead of + . + 2004-04-13 Ralf Corsepius * configure.ac: Rework stdint.h/inttypes.h support. 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 +#include /* 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 #include 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 +#include #include /* processor specific information */ #define stringify( _x ) # _x -- cgit v1.2.3