tentative fix for issue 3 (ex 53)
[mplib] / src / texk / web2c / cwebdir / cweav-pc.ch
1 This is the change file for CWEB's CWEAVE under DOS
2 (Contributed by Lee Wittenberg, March 1993)
3 (Also includes workaround for compiler bug, November 1993,
4  contributed by Jorge Fernandez Arnaiz -- arnaiz@redvax1.dgsca.unam.mx)
5
6 Changes necessary for compiling with Borland C/C++
7 Use compilation switches -mc -w-pro -Ff=5000
8
9 Note: The changes to section 4 are not necessary if using a compiler
10 that allows >64K arrays. (If you need lots more bytes, try the alternate
11 change files that have -bs in their name instead of -pc.)
12
13 @x section 1
14 @d banner "This is CWEAVE (Version 3.64)\n"
15 @y
16 @d banner "This is CWEAVE (Version 3.64pc)\n"
17 @z
18
19 @x section 4
20 @d max_bytes 90000 /* the number of bytes in identifiers,
21 @y
22 @d max_bytes (unsigned)60000 /* the number of bytes in identifiers,
23 @z
24 @x
25 @d max_refs 20000 /* number of cross-references; must be less than 65536 */
26 @y
27 @d max_refs 10000 /* number of cross-references; must be less than 65536 */
28 @z
29
30 @x section 163
31 @ @<Change |pp| to $\max...@>=
32 @y
33 @ @<Change |pp| to $\max...@>=
34 #ifdef __MSDOS__
35 if (d<0 && pp+d>pp) pp=scrap_base; /* segmented architecture caused wrap */
36 else
37 #endif
38 @z
39