summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/w2c/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/w2c/config.h')
-rw-r--r--Build/source/texk/web2c/w2c/config.h5
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