Fix ICU build with older ICUs
This commit is contained in:
parent
883cbf5ed7
commit
4ac4c6f2e1
|
@ -33,11 +33,16 @@
|
||||||
|
|
||||||
#include "hb-unicode-private.hh"
|
#include "hb-unicode-private.hh"
|
||||||
|
|
||||||
#include <unicode/uvernum.h>
|
|
||||||
#include <unicode/uchar.h>
|
#include <unicode/uchar.h>
|
||||||
#include <unicode/unorm.h>
|
#include <unicode/unorm.h>
|
||||||
#include <unicode/ustring.h>
|
#include <unicode/ustring.h>
|
||||||
|
|
||||||
|
#include <unicode/uversion.h>
|
||||||
|
#ifndef U_ICU_VERSION_MAJOR_NUM
|
||||||
|
/* I wish ICU had stronger stability guarantees. Oh well... */
|
||||||
|
#include <unicode/uvernum.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
hb_script_t
|
hb_script_t
|
||||||
|
|
Loading…
Reference in New Issue