diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-07 08:21:58 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-12-07 08:21:58 +0000 |
commit | 4b8d5103b7e6a70001e1aaf5b4f0ff0d0ac18d13 (patch) | |
tree | 21159181b83f9144f034dbb28eca705c94bdca89 /Build/source/texk | |
parent | 0a770fd951a8b74c31f1c01e3c6d8a673f869c47 (diff) |
Fix various WIN32 and MinGW build problems and compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@28456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/w2c/config.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index 35a5c3360da..04130725eb0 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,8 @@ +2012-12-06 Peter Breitenlohner <peb@mppmu.mpg.de> + + * w2c/config.h [MinGW32]: Define LONGINTEGER_{TYPE ,PRI} as for + native Windows, i.e., as __int64 and "I64". + 2012-11-30 Peter Breitenlohner <peb@mppmu.mpg.de> * Makefile.am, configure.ac: Add pixman, cairo, and harfbuzz diff --git a/Build/source/texk/web2c/w2c/config.h b/Build/source/texk/web2c/w2c/config.h index 21394181bf8..0a44572b28d 100644 --- a/Build/source/texk/web2c/w2c/config.h +++ b/Build/source/texk/web2c/w2c/config.h @@ -78,7 +78,7 @@ typedef off_t longinteger; /* To print file offsets we cast them to `LONGINTEGER_TYPE' (or `unsigned LONGINTEGER_TYPE') and use the conversion specifier `"%" LONGINTEGER_PRI "d"' (or `"%" LONGINTEGER_PRI "u"'). */ -#if defined(WIN32) && !defined(__MINGW32__) +#if defined(WIN32) #define LONGINTEGER_TYPE __int64 #define LONGINTEGER_PRI "I64" #elif SIZEOF_LONG < SIZEOF_OFF_T |