From 00c4dcfbc8a0c6caa1a9e71cbbdcff92d217ef99 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Thu, 9 Jan 2014 08:49:53 +0000 Subject: 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 --- Build/source/texk/web2c/w2c/config.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Build/source/texk/web2c/w2c') 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 -- cgit v1.2.3