ICU-3445 UCONFIG fix

X-SVN-Rev: 14044
This commit is contained in:
Steven R. Loomis 2003-12-09 01:03:38 +00:00
parent b6980f5b99
commit 2023a9c935
2 changed files with 5 additions and 1 deletions

View file

@ -9,6 +9,9 @@
**********************************************************************
*/
#include "gregoimp.h"
#if !UCONFIG_NO_FORMATTING
#include "unicode/ucal.h"
int32_t Math::floorDivide(int32_t numerator, int32_t denominator) {
@ -84,4 +87,5 @@ void Grego::dayToFields(double day, int32_t& year, int32_t& month,
doy++; // one-based doy
}
#endif
//eof

View file

@ -187,7 +187,7 @@ main(int argc, char* argv[]) {
#if UCONFIG_NO_IDNA
fprintf(stderr,
"gensprep writes dummy " U_ICUDATA_NAME "_" _SPREP_DATA_NAME "." DATA_TYPE
"gensprep writes dummy " U_ICUDATA_NAME "_" DATA_NAME "." DATA_TYPE
" because UCONFIG_NO_IDNA is set, \n"
"see icu/source/common/unicode/uconfig.h\n");
generateData(destDir);