From b74ae536a7ee0538e56745303132a0e7c62f2361 Mon Sep 17 00:00:00 2001 From: Michael Ow Date: Fri, 4 Nov 2011 02:40:39 +0000 Subject: [PATCH] ICU-8888 Fix missing identifier error in pkgdata X-SVN-Rev: 30918 --- icu4c/source/tools/pkgdata/pkgdata.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/icu4c/source/tools/pkgdata/pkgdata.cpp b/icu4c/source/tools/pkgdata/pkgdata.cpp index 7e483501275..194179be79b 100644 --- a/icu4c/source/tools/pkgdata/pkgdata.cpp +++ b/icu4c/source/tools/pkgdata/pkgdata.cpp @@ -691,7 +691,12 @@ static int32_t pkg_executeOptions(UPKGOptions *o) { fprintf(stdout, "# Writing object code to %s ..\n", gencFilePath); } if (o->withoutAssembly) { +#ifdef BUILD_DATA_WITHOUT_ASSEMBLY result = pkg_createWithoutAssemblyCode(o, targetDir, mode); +#else + /* This error should not occur. */ + fprintf(stderr, "Error- BUILD_DATA_WITHOUT_ASSEMBLY is not defined. Internal error.\n"); +#endif } else { #ifdef CAN_WRITE_OBJ_CODE writeObjectCode(datFileNamePath, o->tmpDir, o->entryName, NULL, NULL, gencFilePath);