From 98d57998af9f14a2120a8b9f9fe302ce4587d99c Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 23 Oct 2007 20:51:29 +0000 Subject: longinteger for >2gb pdf output; from Martin git-svn-id: svn://tug.org/texlive/trunk@5261 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/ChangeLog | 5 +++++ Build/source/texk/web2c/config.h | 21 ++++++++++++++++++--- Build/source/texk/web2c/web2c/ChangeLog | 6 ++++-- Build/source/texk/web2c/web2c/common.defines | 5 ++++- 4 files changed, 31 insertions(+), 6 deletions(-) (limited to 'Build/source/texk/web2c') diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog index e321f2a2567..fd1dd2008c8 100644 --- a/Build/source/texk/web2c/ChangeLog +++ b/Build/source/texk/web2c/ChangeLog @@ -1,3 +1,8 @@ +2007-10-23 Karl Berry + + * config.h (LONGINTEGER_TYPE): #define, depending on the C version. + (longinteger): typedef. + 2007-10-01 Karl Berry * cpascal.h (floor): #undef, since MaxOSX #defines it. diff --git a/Build/source/texk/web2c/config.h b/Build/source/texk/web2c/config.h index cb68a6a9c1e..427636d0c2f 100644 --- a/Build/source/texk/web2c/config.h +++ b/Build/source/texk/web2c/config.h @@ -1,6 +1,6 @@ /* config.h: All .c files include this first. -Copyright (C) 1995, 1996, 2006 Karl Berry. +Copyright (C) 1995, 1996, 2006, 2007 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 @@ -13,8 +13,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +along with this program; if not, see =199901L + /* C99; this is easy */ + #include + #define LONGINTEGER_TYPE int_least64_t + #define LONGINTEGER_MAX INT_LEAST64_MAX + #define LONGINTEGER_MIN INT_LEAST64_MIN +#else + /* C++ or + + * common.defines (longinteger): make accessible to web sources. + 2006-05-26 Jonathan Kew * coerce.h: add support for xetex - * convert: add support for xetex - * splitup.c: add support for xetex 2005-07-27 Olaf Weber diff --git a/Build/source/texk/web2c/web2c/common.defines b/Build/source/texk/web2c/web2c/common.defines index 1fc6998791f..31c70c35b1a 100644 --- a/Build/source/texk/web2c/web2c/common.defines +++ b/Build/source/texk/web2c/web2c/common.defines @@ -1,4 +1,6 @@ -{This file is concatenated by ./convert to the beginning of the Pascal +{common.defines. Public domain. + + This file is concatenated by ./convert to the beginning of the Pascal code that tangle outputs. The idea is to put all these symbols, which can be defined as macros or functions, or as part of standard C, into web2c's symbol table, so that we can access them from a change file. @@ -191,6 +193,7 @@ @define type char = 0..255; @define type getoptstruct; @define type integer; +@define type longinteger; @define type memoryword; {for gftodvi, TeX, and Metafont} @define type pointertobyte; @define type real; -- cgit v1.2.3