summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/w2c/config.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-01-09 08:49:53 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-01-09 08:49:53 +0000
commit00c4dcfbc8a0c6caa1a9e71cbbdcff92d217ef99 (patch)
tree999d355532539b25f98d7dee704901127784fdec /Build/source/texk/web2c/w2c/config.h
parent674b9fae633e3b003348078d0e997975025f329e (diff)
web2c: Introduce a genuine 64-bit integer type, in case of 32-bit off_t
git-svn-id: svn://tug.org/texlive/trunk@32614 c570f23f-e606-0410-a88d-b1316a301751
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 3888b3f5843..9aa4a96237f 100644
--- a/Build/source/texk/web2c/w2c/config.h
+++ b/Build/source/texk/web2c/w2c/config.h
@@ -1,6 +1,6 @@
/* w2c/config.h: All .c files include this first.
-Copyright 1995, 1996, 2006, 2007, 2009, 2010, 2012 Karl Berry.
+Copyright 1995, 1996, 2006, 2007, 2009, 2010, 2012, 2014 Karl Berry.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -92,6 +92,9 @@ typedef off_t longinteger;
#define LONGINTEGER_TYPE long
#define LONGINTEGER_PRI "l"
#endif
+
+/* We also need a genuine 64-bit integer type, in case of 32-bit off_t */
+typedef LONGINTEGER_TYPE integer64;
/* I don't want to write a configure test for remove when all Unix
machines have unlink. But, for the sake of non-Unix machines that