From 16a9ed5b864307882f92de5fe3e521bfe9a3777a Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 6 Nov 2001 19:46:26 +0000 Subject: [PATCH] ICU-580 os/390 batch build changes. X-SVN-Rev: 6639 --- icu4c/source/common/umapfile.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/icu4c/source/common/umapfile.c b/icu4c/source/common/umapfile.c index d3fc6b764f..9eb0a0f7ea 100644 --- a/icu4c/source/common/umapfile.c +++ b/icu4c/source/common/umapfile.c @@ -63,7 +63,8 @@ # ifdef OS390 /* No memory mapping for 390 batch mode. Fake it using dll loading. */ # include -# include "cstring.h" +# include "cstring.h" +# include "cmemory.h" # include "unicode/udata.h" # define LIB_PREFIX "lib" # define LIB_PREFIX_LENGTH 3 @@ -264,9 +265,9 @@ * */ - uprv_mapFile(UDataMemory *pData, const char *path) { -# define DATA_TYPE "dat" +# define DATA_TYPE "dat" + UBool uprv_mapFile(UDataMemory *pData, const char *path) { const char *inBasename; char *basename, *suffix, *tempbasename; char pathBuffer[1024]; @@ -282,7 +283,7 @@ } else { inBasename++; } - basename=computeDirPath(path, pathBuffer); + basename=uprv_computeDirPath(path, pathBuffer); if(uprv_strcmp(inBasename, U_ICUDATA_NAME".dat") != 0) { /* must mmap file... for build */ int fd;