From 6a76f2d773ac1d600d59ce9878d1779cd118e496 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 20 Feb 2001 00:47:25 +0000 Subject: [PATCH] ICU-597 AS/400 porting changes X-SVN-Rev: 3680 --- icu4c/source/common/unicode/pos400.h | 6 ++++++ icu4c/source/config/mh-os400 | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/icu4c/source/common/unicode/pos400.h b/icu4c/source/common/unicode/pos400.h index d115d3b51f2..ebebc3b1f47 100644 --- a/icu4c/source/common/unicode/pos400.h +++ b/icu4c/source/common/unicode/pos400.h @@ -98,6 +98,12 @@ typedef unsigned long uint32_t; #define U_CHARSET_FAMILY 1 #define U_SIZEOF_WCHAR_T 2 +/*===========================================================================*/ +/* Do we have wcscpy and other similar functions */ +/*===========================================================================*/ + +#define U_HAVE_WCSCPY 1 + /*===========================================================================*/ /* Symbol import-export control */ /*===========================================================================*/ diff --git a/icu4c/source/config/mh-os400 b/icu4c/source/config/mh-os400 index 0b267dd0a82..aff2988892a 100644 --- a/icu4c/source/config/mh-os400 +++ b/icu4c/source/config/mh-os400 @@ -3,7 +3,7 @@ ## Copyright (c) 1999-2000, International Business Machines Corporation and ## others. All Rights Reserved. ## -## $Id: mh-os400,v 1.10 2000/10/16 18:05:34 yves Exp $ +## $Id: mh-os400,v 1.11 2001/02/20 00:45:39 grhoten Exp $ GEN_DEPS.c= $(CC1) -E -M $(DEFS) $(CPPFLAGS) GEN_DEPS.cc= $(CXX1) -E -M $(DEFS) $(CPPFLAGS) @@ -54,10 +54,10 @@ INSTALL-S = cp -fph INSTALL-L = $(INSTALL-S) ## Link commands to link to ICU service programs -LIBICUUC = $(top_srcdir)/common/libicuuc.o -LIBICUI18N = $(top_srcdir)/i18n/libicui18n.o -LIBCTESTFW = $(top_srcdir)/tools/ctestfw/libctestfw.o -LIBICUTOOLUTIL = $(top_srcdir)/tools/toolutil/libicutoolutil.o +LIBICUUC = $(top_builddir)/common/libicuuc.o +LIBICUI18N = $(top_builddir)/i18n/libicui18n.o +LIBCTESTFW = $(top_builddir)/tools/ctestfw/libctestfw.o +LIBICUTOOLUTIL = $(top_builddir)/tools/toolutil/libicutoolutil.o LIBUSTDIO= $(top_builddir)/extra/ustdio/libustdio.o ## Special OS400 rules