2 /********************************************
4 copyright 1992-4, Michael D. Brennan
6 This is a source file for mawk, an implementation of
7 the AWK programming language.
9 Mawk is distributed without warranty under the terms of
10 the GNU General Public License, version 2, 1991.
11 ********************************************/
13 /* Zortech C++ under MSDOS */
16 * Revision 1.3 1994/10/08 19:12:08 mike
19 * Revision 1.2 1994/10/08 18:49:30 mike
22 * Revision 1.1 1994/10/08 18:24:43 mike
23 * moved from config directory
25 * Revision 1.1.1.1 1993/07/03 18:58:37 mike
28 * Revision 1.1 1992/12/27 01:42:50 mike
31 * Revision 4.2.1 92/06/01 00:00:00 bmyers
32 * create Zortech C++ version from Borland C++ version
33 * ZTC has matherr function and no info for floating point exceptions.
38 This might not work anymore under mawk 1.2
47 #define SIZE_T_HFILE <stddef.h>
48 #define MAX__INT 0x7fff
49 #define MAX__LONG 0x7fffffff
50 #define HAVE_FAKE_PIPES 1
51 /* contradicts comment above ??? */
55 #define FPE_TRAPS_ON 1
56 #define NOINFO_SIGFPE 1
59 /* how to test far pointers have the same segment */
61 #define SAMESEG(p,q) (FP_SEG(p)==FP_SEG(q))
64 #define SET_PROGNAME() reargv(&argc,&argv) ; progname = argv[0]
66 #define SET_PROGNAME() progname = "mawk"