2 /********************************************
4 copyright 1991, 1992. 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 /* $Log: generic.h,v $
15 * Revision 4.4 92/03/03 16:40:54 brennan
16 * remove HAVE_PRINTF_HD
18 * Revision 4.3 91/10/29 10:48:26 brennan
21 * Revision 4.2 91/10/14 09:52:34 brennan
22 * added HAVE_PRINTF_HD
24 * Revision 4.1 91/09/25 11:41:23 brennan
27 * Revision 3.2 91/08/13 09:04:11 brennan
30 * Revision 3.1 91/06/07 10:38:48 brennan
35 /* This is the most common and easiest case ,
38 following generic conditions
39 or your compiler pre defines __STDC__ != 0
41 link or copy this file to
45 compiler does not have prototypes
49 do not have <stdlib.h>
50 use <varargs.h> instead of <stdarg.h>
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 )
64 You don't have to be frugal with memory, i.e. you are not
65 restricted to 64K of data or something similar
67 largest integer is 2^31-1 = 0x7fffffff
69 Your OS is some flavor of Unix
72 /* tested and works on:
74 SunOS4.1 (sun 4.0.3 has a bug in strtod(), use sun_os40.h)
78 SysV3.02beta on a Stardent 3000
86 #include "config/Idefault.h"