ICU-7131 Add check for U_CHARSET_FAMILY in pkgdata tool.

X-SVN-Rev: 26722
This commit is contained in:
Michael Ow 2009-10-01 20:01:51 +00:00
parent abb85c8441
commit e2e3789ac4

View File

@ -519,7 +519,7 @@ static int32_t pkg_executeOptions(UPKGOptions *o) {
uprv_strcat(datFileNamePath, datFileName);
result = writePackageDatFile(datFileNamePath, o->comment, o->srcDir, o->fileListFiles->str, NULL, U_IS_BIG_ENDIAN ? 'b' : 'l');
result = writePackageDatFile(datFileNamePath, o->comment, o->srcDir, o->fileListFiles->str, NULL, U_CHARSET_FAMILY ? 'e' : U_IS_BIG_ENDIAN ? 'b' : 'l');
if (result != 0) {
fprintf(stderr,"Error writing package dat file.\n");
return result;