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

  1.  
  2. /********************************************
  3. ztc_dos.h
  4. copyright 1992, 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. /* Zortech C++ under MSDOS */
  14.  
  15. /* $Log: ztc_dos.h,v $
  16.  * Revision 1.1  1992/12/27  01:42:50  mike
  17.  * Initial revision
  18.  *
  19.  * Revision 4.2.1  92/06/01  00:00:00  bmyers
  20.  * create Zortech C++ version from Borland C++ version
  21.  * ZTC has matherr function and no info for floating point exceptions.
  22.  *
  23. */
  24.  
  25. #ifndef   CONFIG_H
  26. #define   CONFIG_H      1
  27.  
  28. #define   MSDOS                 1
  29.  
  30. #define   HAVE_PROTOS           1
  31. #define   HAVE_STDARG_H         1
  32. #define   HAVE_STDLIB_H        1
  33. #define   HAVE_TIME_H        1
  34. #define   HAVE_STRERROR        1
  35.  
  36. #define   HAVE_MATHERR          0
  37.  
  38.  
  39.  
  40.  
  41. #define  FPE_TRAPS_ON        1
  42. #define  NOINFO_SIGFPE          1
  43.  
  44.  
  45. #ifndef   HAVE_SMALL_MEMORY   /* allow large model override */
  46. #define   HAVE_SMALL_MEMORY     1
  47. #endif
  48.  
  49. #if  HAVE_SMALL_MEMORY==0
  50. /* how to test far pointers have the same segment */
  51. #include <dos.h>
  52. #define  SAMESEG(p,q)    (FP_SEG(p)==FP_SEG(q))
  53. #endif
  54.  
  55. #include "config/Idefault.h"
  56.  
  57.  
  58. #endif  /* CONFIG_H  */
  59.