/*
********************************************************************************
-* Copyright (C) 2005-2006, International Business Machines
+* Copyright (C) 2005-2011, International Business Machines
* Corporation and others. All Rights Reserved.
********************************************************************************
*
#include "unicode/utypes.h"
-#ifdef U_WINDOWS
+#if U_PLATFORM_USES_ONLY_WIN32_API
#if !UCONFIG_NO_FORMATTING
UnicodeString locale(localeID);
log->errln("Double format error for locale " + locale +
- ": got " + udBuffer + " expected " + wdBuffer);
+ ": got " + udBuffer + " expected " + wdBuffer);
}
wnf->format(i32, u3Buffer);
UnicodeString locale(localeID);
log->errln("int32_t format error for locale " + locale +
- ": got " + u3Buffer + " expected " + w3Buffer);
+ ": got " + u3Buffer + " expected " + w3Buffer);
}
wnf->format(i64, u6Buffer);
UnicodeString locale(localeID);
log->errln("int64_t format error for locale " + locale +
- ": got " + u6Buffer + " expected " + w6Buffer);
+ ": got " + u6Buffer + " expected " + w6Buffer);
}
}
}
UErrorCode status = U_ZERO_ERROR;
char localeID[128];
- // NULL localeID means ICU didn't recognize the lcid
- if (lcidRecords[i].localeID == NULL) {
- continue;
- }
+ // NULL localeID means ICU didn't recognize the lcid
+ if (lcidRecords[i].localeID == NULL) {
+ continue;
+ }
strcpy(localeID, lcidRecords[i].localeID);
#endif /* #if !UCONFIG_NO_FORMATTING */
-#endif /* #ifdef U_WINDOWS */
+#endif /* U_PLATFORM_USES_ONLY_WIN32_API */