summaryrefslogtreecommitdiff
path: root/ext/intl/msgformat/msgformat_data.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-06-07 14:32:47 +0800
committerXinchen Hui <laruence@php.net>2012-06-07 14:32:47 +0800
commit83542dcf3b84767cc950e2def7b35ec3b4839edc (patch)
tree70fe951f81e55467d344329d97cab3abec08eeef /ext/intl/msgformat/msgformat_data.c
parente118a0794a93e54d97ac42636e56c9b7e5904ecd (diff)
parent6ecc9f1d9dfbfa264725aabcf52b75e31ce59deb (diff)
downloadphp-git-83542dcf3b84767cc950e2def7b35ec3b4839edc.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
By Gustavo André dos Santos Lopes (4) and others via Felipe Pena (1) and Xinchen Hui (1) * PHP-5.3: Remove unused codes based on microsoft's description,the direct convert from FILETIME struct to __int64 is unsafe. Fix ext/intl build on ICU < 4.8 Optimization in ext/intl/msgformat Fixed tests in ext/intl Changed XFAILed collator_get_sort_key.phpt
Diffstat (limited to 'ext/intl/msgformat/msgformat_data.c')
-rwxr-xr-xext/intl/msgformat/msgformat_data.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/intl/msgformat/msgformat_data.c b/ext/intl/msgformat/msgformat_data.c
index 95e81d3ea7..527c1d4d17 100755
--- a/ext/intl/msgformat/msgformat_data.c
+++ b/ext/intl/msgformat/msgformat_data.c
@@ -21,6 +21,8 @@
#include <unicode/ustring.h>
#include "msgformat_data.h"
+#include "msgformat_class.h"
+
/* {{{ void msgformat_data_init( msgformat_data* mf_data )
* Initialize internals of msgformat_data.
*/
@@ -69,6 +71,7 @@ msgformat_data* msgformat_data_create( TSRMLS_D )
}
/* }}} */
+#ifdef MSG_FORMAT_QUOTE_APOS
int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *ec)
{
if(*spattern && *spattern_len && u_strchr(*spattern, (UChar)'\'')) {
@@ -86,6 +89,7 @@ int msgformat_fix_quotes(UChar **spattern, uint32_t *spattern_len, UErrorCode *e
}
return SUCCESS;
}
+#endif
/*