diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-09 13:03:09 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-09 13:03:09 +0000 |
commit | 3ab55fdb17a74e30dcb91b7d3331b3a64a12ae94 (patch) | |
tree | fa6099fd88daf2d4971f79d67199182f6cb04401 /Build/source/texk | |
parent | 6ea7c7d968799a4579eec0b8dc6c1c50e3c7e75f (diff) |
web2c/w2c/config.h: Define LONGINTEGER_{TYPE,PRId} for MSVC
git-svn-id: svn://tug.org/texlive/trunk@26972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/web2c/w2c/config.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/w2c/config.h b/Build/source/texk/web2c/w2c/config.h index eb6b916d9ec..74799867969 100644 --- a/Build/source/texk/web2c/w2c/config.h +++ b/Build/source/texk/web2c/w2c/config.h @@ -75,7 +75,10 @@ typedef INTEGER_TYPE integer; /* We need a type that's at least off_t wide */ typedef off_t longinteger; -#if SIZEOF_LONG < SIZEOF_OFF_T +#if defined(WIN32) && !defined(__MINGW32__) +#define LONGINTEGER_TYPE __int64 +#define LONGINTEGER_PRId "IA64d" +#elif SIZEOF_LONG < SIZEOF_OFF_T #define LONGINTEGER_TYPE long long #define LONGINTEGER_PRId "lld" #else |