From 5c5bc96216c9ad58243eb3ed27b253e237f08ebe Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 13 Jul 2012 10:15:37 -0400 Subject: [PATCH] Allow overriding HB_BEGIN_DECLS / HB_END_DECLS --- src/hb-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hb-common.h b/src/hb-common.h index 78bc43c12..1728db711 100644 --- a/src/hb-common.h +++ b/src/hb-common.h @@ -33,6 +33,7 @@ #ifndef HB_COMMON_H #define HB_COMMON_H +#ifndef HB_BEGIN_DECLS # ifdef __cplusplus # define HB_BEGIN_DECLS extern "C" { # define HB_END_DECLS } @@ -40,6 +41,7 @@ # define HB_BEGIN_DECLS # define HB_END_DECLS # endif /* !__cplusplus */ +#endif HB_BEGIN_DECLS