NetBSD/gnu/usr.bin/awk/config/tcc_dos.h

67 lines
1.4 KiB
C

/********************************************
tcc_dos.h
copyright 1991, Michael D. Brennan
This is a source file for mawk, an implementation of
the AWK programming language.
Mawk is distributed without warranty under the terms of
the GNU General Public License, version 2, 1991.
********************************************/
/* Turbo C under MSDOS */
/* $Log: tcc_dos.h,v $
/* Revision 1.1.1.1 1993/03/21 09:45:37 cgd
/* initial import of 386bsd-0.1 sources
/*
* Revision 4.2 91/10/29 09:37:54 brennan
* changes for 1.09
*
* Revision 4.1 91/09/25 11:41:51 brennan
* VERSION 1.0
*
* Revision 3.2 91/08/13 09:04:19 brennan
* VERSION .9994
*
* Revision 3.1 91/06/07 10:38:51 brennan
* VERSION 0.995
*
*/
#ifndef CONFIG_H
#define CONFIG_H 1
#define MSDOS 1
#define HAVE_PROTOS 1
#define HAVE_STDARG_H 1
#define HAVE_STDLIB_H 1
/* Turbo C float lib bungles comparison of NaNs so we
have to keep traps on */
#define FPE_TRAPS_ON 1
#define FPE_ZERODIVIDE 131
#define FPE_OVERFLOW 132
#ifndef HAVE_SMALL_MEMORY /* allow large model override */
#define HAVE_SMALL_MEMORY 1
#endif
#if HAVE_SMALL_MEMORY==0
/* how to test far pointers have the same segment */
#include <dos.h>
#define SAMESEG(p,q) (FP_SEG(p)==FP_SEG(q))
#endif
#include "config/Idefault.h"
#endif /* CONFIG_H */