mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
Merge branch 'PHP-7.0'
* PHP-7.0: fix compat for ICU < 50
This commit is contained in:
commit
91da256bb1
@ -36,6 +36,10 @@ extern "C" {
|
||||
#include "dateformat_helpers.h"
|
||||
#include "zend_exceptions.h"
|
||||
|
||||
#if U_ICU_VERSION_MINOR_NUM < 50
|
||||
#define UDAT_PATTERN 0
|
||||
#endif
|
||||
|
||||
#define INTL_UDATE_FMT_OK(i) \
|
||||
(UDAT_FULL == (i) || UDAT_LONG == (i) || \
|
||||
UDAT_MEDIUM == (i) || UDAT_SHORT == (i) || \
|
||||
|
Loading…
Reference in New Issue
Block a user