diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-17 21:41:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-17 21:41:51 +0000 |
commit | 487ca4806cc046076293cf6cc5fbba0db282bac7 (patch) | |
tree | 847b412ab5158dd7bdd7ed7e5a4cc3fbca94be32 /Build/source/texk/web2c/cwebdir/cweav-pc.ch | |
parent | a3d3111bfe26b8e5f5bc6049dfb2a4ca2edc7881 (diff) |
texk 1
git-svn-id: svn://tug.org/texlive/trunk@1485 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/cwebdir/cweav-pc.ch')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweav-pc.ch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/cwebdir/cweav-pc.ch b/Build/source/texk/web2c/cwebdir/cweav-pc.ch new file mode 100644 index 00000000000..28cd94f5a3f --- /dev/null +++ b/Build/source/texk/web2c/cwebdir/cweav-pc.ch @@ -0,0 +1,39 @@ +This is the change file for CWEB's CWEAVE under DOS +(Contributed by Lee Wittenberg, March 1993) +(Also includes workaround for compiler bug, November 1993, + contributed by Jorge Fernandez Arnaiz -- arnaiz@redvax1.dgsca.unam.mx) + +Changes necessary for compiling with Borland C/C++ +Use compilation switches -mc -w-pro -Ff=5000 + +Note: The changes to section 4 are not necessary if using a compiler +that allows >64K arrays. (If you need lots more bytes, try the alternate +change files that have -bs in their name instead of -pc.) + +@x section 1 +@d banner "This is CWEAVE (Version 3.64)\n" +@y +@d banner "This is CWEAVE (Version 3.64pc)\n" +@z + +@x section 4 +@d max_bytes 90000 /* the number of bytes in identifiers, +@y +@d max_bytes (unsigned)60000 /* the number of bytes in identifiers, +@z +@x +@d max_refs 20000 /* number of cross-references; must be less than 65536 */ +@y +@d max_refs 10000 /* number of cross-references; must be less than 65536 */ +@z + +@x section 163 +@ @<Change |pp| to $\max...@>= +@y +@ @<Change |pp| to $\max...@>= +#ifdef __MSDOS__ +if (d<0 && pp+d>pp) pp=scrap_base; /* segmented architecture caused wrap */ +else +#endif +@z + |