Expand PMF_FN_* macros.
[netbsd-mini2440.git] / gnu / usr.bin / awk / config / generic.h
bloba7bf6f72daddf7164eb1c296126d74912151f494
2 /********************************************
3 generic.h
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
19 * version 1.09
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
25 * VERSION 1.0
27 * Revision 3.2 91/08/13 09:04:11 brennan
28 * VERSION .9994
30 * Revision 3.1 91/06/07 10:38:48 brennan
31 * VERSION 0.995
35 /* This is the most common and easiest case ,
37 if you satisfy the
38 following generic conditions
39 or your compiler pre defines __STDC__ != 0
41 link or copy this file to
42 ../config.h and make
44 generic conditions:
45 compiler does not have prototypes
46 compiler has void *
48 have <string.h>
49 do not have <stdlib.h>
50 use <varargs.h> instead of <stdarg.h>
51 have <fcntl.h>
53 have matherr()
54 have strtod()
55 have fmod()
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)
76 Ultrix4.1 on a MIPS
77 Ultrix4.2 on a MIPS
78 SysV3.02beta on a Stardent 3000
82 #ifndef CONFIG_H
83 #define CONFIG_H 1
86 #include "config/Idefault.h"
88 #endif