diff options
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/web2c/xetexdir/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/xetexdir/XeTeX_ext.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/xetexdir/ChangeLog b/Build/source/texk/web2c/xetexdir/ChangeLog index f897c639443..5ab760dc9ec 100644 --- a/Build/source/texk/web2c/xetexdir/ChangeLog +++ b/Build/source/texk/web2c/xetexdir/ChangeLog @@ -1,3 +1,8 @@ +2013-01-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp> + + * XeTeX_ext.h: Add #ifndef __cplusplus ... #endif for + #define bool boolean to avoid compile error in cplusplus files. + 2013-01-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * XeTeX_ext.c: Move u_getVersion(icuVersion) etc. below variable diff --git a/Build/source/texk/web2c/xetexdir/XeTeX_ext.h b/Build/source/texk/web2c/xetexdir/XeTeX_ext.h index 2a0b3039d40..828801de5d1 100644 --- a/Build/source/texk/web2c/xetexdir/XeTeX_ext.h +++ b/Build/source/texk/web2c/xetexdir/XeTeX_ext.h @@ -236,8 +236,10 @@ extern FT_Library gFreeTypeLibrary; #else /* boolean is an enum type from kpathsea/types.h loaded in kpathsea/kpathsea.h, use it as fallback */ +#ifndef __cplusplus # define bool boolean #endif +#endif #include "XeTeXLayoutInterface.h" |