summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/w2c/config.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-19 12:37:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-19 12:37:36 +0000
commit4cb5cce939c23bfc8b827e055e083289dd375763 (patch)
tree25c8b0733ccb071630259f4d8dfd2a6744c20521 /Build/source/texk/web2c/w2c/config.h
parentdafc7ac20f5196fde6017209e1def77281418021 (diff)
*TeX: Distribute the *texdir/*tex_version.h files
git-svn-id: svn://tug.org/texlive/trunk@27087 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/w2c/config.h')
-rw-r--r--Build/source/texk/web2c/w2c/config.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/web2c/w2c/config.h b/Build/source/texk/web2c/w2c/config.h
index 5e2d60e1daa..21394181bf8 100644
--- a/Build/source/texk/web2c/w2c/config.h
+++ b/Build/source/texk/web2c/w2c/config.h
@@ -75,18 +75,18 @@ typedef INTEGER_TYPE integer;
/* We need a type that's at least off_t wide */
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__)
#define LONGINTEGER_TYPE __int64
-#define LONGINTEGER_PRId "I64d"
-#define LONGINTEGER_PRIi "I64i"
+#define LONGINTEGER_PRI "I64"
#elif SIZEOF_LONG < SIZEOF_OFF_T
#define LONGINTEGER_TYPE long long
-#define LONGINTEGER_PRId "lld"
-#define LONGINTEGER_PRIi "lli"
+#define LONGINTEGER_PRI "ll"
#else
#define LONGINTEGER_TYPE long
-#define LONGINTEGER_PRId "ld"
-#define LONGINTEGER_PRIi "li"
+#define LONGINTEGER_PRI "l"
#endif
/* I don't want to write a configure test for remove when all Unix