2
/********************************************
4
copyright 1991, 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
********************************************/
14
The port of mawk to V7 is the work of
15
Carl Mascott (cmascott@world.std.com)
19
* Revision 1.1.1.1 1993/07/03 18:58:32 mike
22
* Revision 4.2 1991/11/21 13:30:34 brennan
24
* 11/17/91 C. Mascott declare fprintf, sprintf on V7
26
* Revision 4.1 91/09/25 11:40:41 brennan
29
* Revision 1.4 91/08/16 08:22:09 brennan
30
* Carl's addition of SW_FP_CHECK for XNX23A
32
* Revision 1.3 91/08/13 09:04:07 brennan
35
* Revision 1.2 91/06/15 09:28:54 brennan
38
* 06/11/91 C. Mascott change NO_FMOD to HAVE_FMOD
39
* change NO_STRTOD to HAVE_STRTOD
41
* Revision 1.1 91/06/10 14:20:03 brennan
52
#define HAVE_VOID_PTR 0
55
#define HAVE_MATHERR 0
57
#define HAVE_STRING_H 0
58
#define HAVE_FCNTL_H 0
65
#define vfprintf(s,f,a) _doprnt(f,a,s)
67
#define strrchr rindex
70
/* convert double to Boolean. This is a bug work-around for
71
XENIX-68K 2.3A, where logical test of double doesn't work. This
72
macro NG for register double. */
73
#define D2BOOL(x) (*((long *) &(x)))
78
/* these are missing and print.c needs them */
82
#include "config/Idefault.h"