diff options
Diffstat (limited to 'src/harfbuzz-impl.h')
-rw-r--r-- | src/harfbuzz-impl.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/harfbuzz-impl.h b/src/harfbuzz-impl.h index f886e676..29101f87 100644 --- a/src/harfbuzz-impl.h +++ b/src/harfbuzz-impl.h @@ -34,6 +34,9 @@ #include <stdlib.h> +/* XXX */ +#include "hb-ot-layout-private.h" + HB_BEGIN_HEADER #ifndef HB_INTERNAL @@ -66,8 +69,12 @@ HB_BEGIN_HEADER # define HB_UNUSED(arg) ((arg) = (arg)) #endif -#define HB_LIKELY(cond) (cond) -#define HB_UNLIKELY(cond) (cond) +#ifndef HB_LIKELY +# define HB_LIKELY(cond) (cond) +#endif +#ifndef HB_UNLIKELY +# define HB_UNLIKELY(cond) (cond) +#endif #define ALLOC(_ptr,_size) \ |