diff options
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/pdftoepdf.cc')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/pdftoepdf.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc index 6e846b6023a..40a1102046b 100644 --- a/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc +++ b/Build/source/texk/web2c/pdftexdir/pdftoepdf.cc @@ -18,6 +18,12 @@ with pdfTeX; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +/* For MINGW32 <rpcndr.h> defines 'boolean' as 'unsigned char', + conflicting with the definition for Pascal's boolean as 'int' + in <kpathsea/types.h>. +*/ +#define boolean MINGW32_boolean + #include <stdlib.h> #include <math.h> #include <stddef.h> @@ -39,6 +45,9 @@ Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #include <gfile.h> #include <assert.h> #endif + +#undef boolean + #include "Object.h" #include "Stream.h" #include "Array.h" |