cvs: pecl /intl/formatter formatter.c

From: Date: Thu, 13 Sep 2007 01:13:22 +0000
Subject: cvs: pecl /intl/formatter formatter.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-8558@lists.php.net to get a copy of this message
stas Thu Sep 13 01:13:22 2007 UTC Modified files: /pecl/intl/formatter formatter.c Log: typo fix http://cvs.php.net/viewvc.cgi/pecl/intl/formatter/formatter.c?r1=1.2&r2=1.3&diff_format=u Index: pecl/intl/formatter/formatter.c diff -u pecl/intl/formatter/formatter.c:1.2 pecl/intl/formatter/formatter.c:1.3 --- pecl/intl/formatter/formatter.c:1.2 Thu Aug 9 00:12:43 2007 +++ pecl/intl/formatter/formatter.c Thu Sep 13 01:13:22 2007 @@ -53,12 +53,17 @@ FORMATTER_EXPOSE_CLASS_CONST( DEFAULT ); FORMATTER_EXPOSE_CLASS_CONST( IGNORE ); +/* workaround for ICU bug */ +#if U_ICU_VERSION_MAJOR_NUM == 3 && U_ICU_VERSION_MINOR_NUM < 8 +#define UNUM_ROUND_HALFEVEN UNUM_FOUND_HALFEVEN +#endif + // UNumberFormatRoundingMode FORMATTER_EXPOSE_CLASS_CONST( ROUND_CEILING ); FORMATTER_EXPOSE_CLASS_CONST( ROUND_FLOOR ); FORMATTER_EXPOSE_CLASS_CONST( ROUND_DOWN ); FORMATTER_EXPOSE_CLASS_CONST( ROUND_UP ); - FORMATTER_EXPOSE_CLASS_CONST( FOUND_HALFEVEN ); + FORMATTER_EXPOSE_CLASS_CONST( ROUND_HALFEVEN ); FORMATTER_EXPOSE_CLASS_CONST( ROUND_HALFDOWN ); FORMATTER_EXPOSE_CLASS_CONST( ROUND_HALFUP );

« previous php.pecl.cvs (#8558) next »