386BSD 0.1 development
[unix-history] / usr / src / usr.bin / awk / config / tcc_dos.h
CommitLineData
a7e60862
WJ
1
2/********************************************
3tcc_dos.h
4copyright 1991, 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/* Turbo C under MSDOS */
14
15/* $Log: tcc_dos.h,v $
16 * Revision 4.2 91/10/29 09:37:54 brennan
17 * changes for 1.09
18 *
19 * Revision 4.1 91/09/25 11:41:51 brennan
20 * VERSION 1.0
21 *
22 * Revision 3.2 91/08/13 09:04:19 brennan
23 * VERSION .9994
24 *
25 * Revision 3.1 91/06/07 10:38:51 brennan
26 * VERSION 0.995
27 *
28*/
29
30#ifndef CONFIG_H
31#define CONFIG_H 1
32
33#define MSDOS 1
34
35#define HAVE_PROTOS 1
36#define HAVE_STDARG_H 1
37#define HAVE_STDLIB_H 1
38
39
40
41/* Turbo C float lib bungles comparison of NaNs so we
42 have to keep traps on */
43
44
45#define FPE_TRAPS_ON 1
46#define FPE_ZERODIVIDE 131
47#define FPE_OVERFLOW 132
48
49
50#ifndef HAVE_SMALL_MEMORY /* allow large model override */
51#define HAVE_SMALL_MEMORY 1
52#endif
53
54#if HAVE_SMALL_MEMORY==0
55/* how to test far pointers have the same segment */
56#include <dos.h>
57#define SAMESEG(p,q) (FP_SEG(p)==FP_SEG(q))
58#endif
59
60#include "config/Idefault.h"
61
62
63#endif /* CONFIG_H */