2 /********************************************
4 copyright 1994, 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 /* Turbo C under MSDOS */
16 * Revision 1.5 1995/08/20 17:14:13 mike
17 * get size_t from <stddef.h>
19 * Revision 1.4 1995/01/08 21:48:00 mike
22 * Revision 1.3 1994/10/08 19:12:07 mike
25 * Revision 1.2 1994/10/08 18:49:29 mike
28 * Revision 1.1 1994/10/08 18:24:41 mike
29 * moved from config directory
38 #define SIZE_T_STDDEF_H 1
40 #define MAX__INT 0x7fff
41 #define MAX__LONG 0x7fffffff
42 #define HAVE_FAKE_PIPES 1
44 /* strerror() used to not work because all the lines were
45 terminated with \n -- if no longer true then this can go
51 /* Turbo C float lib bungles comparison of NaNs so we
52 have to keep traps on */
53 #define FPE_TRAPS_ON 1
54 #define FPE_ZERODIVIDE 131
55 #define FPE_OVERFLOW 132
57 /* how to test far pointers have the same segment */
59 #define SAMESEG(p,q) (FP_SEG(p)==FP_SEG(q))
62 #define SET_PROGNAME() reargv(&argc,&argv) ; progname = argv[0]
64 #define SET_PROGNAME() progname = "mawk"