home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / MAWK113.ZIP / mawk113 / config / tcc_dos.h < prev    next >
C/C++ Source or Header  |  1992-12-16  |  1KB  |  68 lines

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