Skip to content

Commit b0d555f

Browse files
committed
Support for icu4c 68.1.
1 parent 00ba784 commit b0d555f

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

ext/intl/breakiterator/codepointiterator_internal.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
#include "php.h"
2222

23+
#include "../intl_common.h"
24+
2325
//copied from cmemory.h, which is not public
2426
typedef union {
2527
zend_long t1;

ext/intl/intl_common.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,11 @@ BEGIN_EXTERN_C()
4747
extern zend_class_entry *IntlException_ce_ptr;
4848
END_EXTERN_C()
4949

50+
#ifndef TRUE
51+
# define TRUE 1
52+
#endif
53+
#ifndef FALSE
54+
# define FALSE 0
55+
#endif
56+
5057
#endif /* INTL_COMMON_H */

ext/intl/timezone/timezone_class.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include <unicode/calendar.h>
2626
#include "../intl_convertcpp.h"
2727

28+
#include "../intl_common.h"
2829
#include "../common/common_date.h"
2930

3031
extern "C" {

ext/intl/timezone/timezone_methods.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#include <unicode/calendar.h>
2727
#include "intl_convertcpp.h"
2828

29+
#include "../intl_common.h"
2930
#include "../common/common_date.h"
3031

3132
extern "C" {

0 commit comments

Comments
 (0)