| 1 | |
| 2 | /******************************************** |
| 3 | bsd43_vax.h |
| 4 | copyright 1991, Michael D. Brennan |
| 5 | |
| 6 | This is a source file for mawk, an implementation of |
| 7 | the AWK programming language. |
| 8 | |
| 9 | Mawk is distributed without warranty under the terms of |
| 10 | the GNU General Public License, version 2, 1991. |
| 11 | ********************************************/ |
| 12 | |
| 13 | |
| 14 | /* $Log: config.h,v $ |
| 15 | * Revision 1.2 1992/06/02 05:07:35 rich |
| 16 | * Ported to 386bsd. Changes from vax BSD4.3 include usage of |
| 17 | * fmod in libm.a, usage of void pointers, and usage of vfprintf |
| 18 | * in libc.a. Floating point exceptions are not raised when |
| 19 | * they should be, which causes the last fpe test to fail. |
| 20 | * |
| 21 | * Revision 1.1 1992/06/02 03:45:42 rich |
| 22 | * Initial revision |
| 23 | * |
| 24 | * Revision 4.1 91/09/25 11:41:07 brennan |
| 25 | * VERSION 1.0 |
| 26 | * |
| 27 | * Revision 3.2 91/08/13 09:04:09 brennan |
| 28 | * VERSION .9994 |
| 29 | * |
| 30 | * Revision 3.1 91/06/07 10:39:33 brennan |
| 31 | * VERSION 0.995 |
| 32 | * |
| 33 | */ |
| 34 | |
| 35 | /* BSD UNIX on 386BSD */ |
| 36 | |
| 37 | #ifndef CONFIG_H |
| 38 | #define CONFIG_H 1 |
| 39 | |
| 40 | #define BSD43_VAX |
| 41 | |
| 42 | #define FPE_TRAPS_ON 1 |
| 43 | #define FPE_ZERODIVIDE FPE_FLTDIV_FAULT |
| 44 | #define FPE_OVERFLOW FPE_FLTOVF_FAULT |
| 45 | |
| 46 | #define HAVE_STRTOD 0 |
| 47 | #define HAVE_MATHERR 0 |
| 48 | |
| 49 | #define HAVE_FMOD 1 |
| 50 | #define HAVE_VOID_PTR 1 |
| 51 | |
| 52 | #include "config/Idefault.h" |
| 53 | |
| 54 | |
| 55 | #endif /* CONFIG_H */ |