diff options
-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 |