386BSD 0.1 development
[unix-history] / usr / src / usr.bin / awk / config / generic.h
CommitLineData
d2713949
WJ
1
2/********************************************
3generic.h
4copyright 1991, 1992. Michael D. Brennan
5
6This is a source file for mawk, an implementation of
7the AWK programming language.
8
9Mawk is distributed without warranty under the terms of
10the GNU General Public License, version 2, 1991.
11********************************************/
12
13
14/* $Log: generic.h,v $
15 * Revision 4.4 92/03/03 16:40:54 brennan
16 * remove HAVE_PRINTF_HD
17 *
18 * Revision 4.3 91/10/29 10:48:26 brennan
19 * version 1.09
20 *
21 * Revision 4.2 91/10/14 09:52:34 brennan
22 * added HAVE_PRINTF_HD
23 *
24 * Revision 4.1 91/09/25 11:41:23 brennan
25 * VERSION 1.0
26 *
27 * Revision 3.2 91/08/13 09:04:11 brennan
28 * VERSION .9994
29 *
30 * Revision 3.1 91/06/07 10:38:48 brennan
31 * VERSION 0.995
32 *
33*/
34
35/* This is the most common and easiest case ,
36
37 if you satisfy the
38 following generic conditions
39 or your compiler pre defines __STDC__ != 0
40
41 link or copy this file to
42 ../config.h and make
43
44generic conditions:
45 compiler does not have prototypes
46 compiler has void *
47
48 have <string.h>
49 do not have <stdlib.h>
50 use <varargs.h> instead of <stdarg.h>
51 have <fcntl.h>
52
53 have matherr()
54 have strtod()
55 have fmod()
56
57
58 divison by zero, overflow and library domain errors do not
59 cause exceptions and this is default behavior.
60 For example this is true if you have IEEE754 floating point
61 and the traps are off by default as the standard says.
62 (The ANSI C committee forgot to read IEEE754 )
63
64 You don't have to be frugal with memory, i.e. you are not
65 restricted to 64K of data or something similar
66
67 largest integer is 2^31-1 = 0x7fffffff
68
69 Your OS is some flavor of Unix
70/*
71
72/* tested and works on:
73
74SunOS4.1 (sun 4.0.3 has a bug in strtod(), use sun_os40.h)
75
76Ultrix4.1 on a MIPS
77Ultrix4.2 on a MIPS
78SysV3.02beta on a Stardent 3000
79
80*/
81
82#ifndef CONFIG_H
83#define CONFIG_H 1
84
85
86#include "config/Idefault.h"
87
88#endif