From bdf50940f9e08c87a6068abfe1a4beae536eb124 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Wed, 29 May 2002 00:13:51 +0000 Subject: [PATCH] ICU-1913 os/400 fixes X-SVN-Rev: 8712 --- icu4c/source/common/unicode/pos400.h | 34 ++++++++++++++++++---------- icu4c/source/config.sub | 4 ++++ 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/icu4c/source/common/unicode/pos400.h b/icu4c/source/common/unicode/pos400.h index 73e0942dda5..7ea4ef23c5f 100644 --- a/icu4c/source/common/unicode/pos400.h +++ b/icu4c/source/common/unicode/pos400.h @@ -44,12 +44,14 @@ #endif /* Determines whether specific types are available */ -#define HAVE_INT8_T 0 -#define HAVE_UINT8_T 0 -#define HAVE_INT16_T 0 -#define HAVE_UINT16_T 0 -#define HAVE_INT32_T 0 -#define HAVE_UINT32_T 0 +#define U_HAVE_INT8_T 0 +#define U_HAVE_UINT8_T 0 +#define U_HAVE_INT16_T 0 +#define U_HAVE_UINT16_T 0 +#define U_HAVE_INT32_T 0 +#define U_HAVE_UINT32_T 0 +#define U_HAVE_INT64_T 0 +#define U_HAVE_UINT64_T 0 /* Define whether namespace is supported */ #define U_HAVE_NAMESPACE 0 @@ -70,30 +72,38 @@ #include #else -#if ! HAVE_INT8_T +#if ! U_HAVE_INT8_T typedef signed char int8_t; #endif -#if ! HAVE_UINT8_T +#if ! U_HAVE_UINT8_T typedef unsigned char uint8_t; #endif -#if ! HAVE_INT16_T +#if ! U_HAVE_INT16_T typedef signed short int16_t; #endif -#if ! HAVE_UINT16_T +#if ! U_HAVE_UINT16_T typedef unsigned short uint16_t; #endif -#if ! HAVE_INT32_T +#if ! U_HAVE_INT32_T typedef signed long int32_t; #endif -#if ! HAVE_UINT32_T +#if ! U_HAVE_UINT32_T typedef unsigned long uint32_t; #endif +#if ! U_HAVE_INT64_T +typedef signed long long int64_t; +#endif + +#if ! U_HAVE_UINT64_T +typedef unsigned long long uint64_t; +#endif + #endif /*===========================================================================*/ diff --git a/icu4c/source/config.sub b/icu4c/source/config.sub index 4870a513fd3..0e77b384531 100644 --- a/icu4c/source/config.sub +++ b/icu4c/source/config.sub @@ -217,6 +217,10 @@ case $os in basic_machine=m68k-atari os=-mint ;; + -as400*) + os= + basic_machine=as400 + ;; esac # Decode aliases for certain CPU-COMPANY combinations.