diff options
Diffstat (limited to 'Build/source/texk/kpathsea/knj.h')
-rw-r--r-- | Build/source/texk/kpathsea/knj.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/knj.h b/Build/source/texk/kpathsea/knj.h index 8faf391fb29..8f1cd919687 100644 --- a/Build/source/texk/kpathsea/knj.h +++ b/Build/source/texk/kpathsea/knj.h @@ -18,11 +18,19 @@ #ifndef KPATHSEA_KNJ_H #define KPATHSEA_KNJ_H +#ifdef __cplusplus +extern "C" { +#endif + extern KPSEDLL int is_cp932_system; extern KPSEDLL int isknj(int c); extern KPSEDLL int isknj2(int c); +#ifdef __cplusplus +} +#endif + /* True if P points to a 2-Byte Kanji (CP 932, SJIS) code. */ #define IS_KANJI(p) is_cp932_system && isknj(*(p)) && isknj2(*(p+1)) |