home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Programmierung / SOURCE.mdf / programm / msdos / c / txcl552 / inc / tcxl_msc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-22  |  2.8 KB  |  61 lines

  1. /*=====[ The TesSeRact(TM) CXL User Interface Development System ]======*
  2.  | Copyright (c) 1987-1991, Innovative Data Concepts, Inc.
  3.  | All Rights Reserved.
  4.  |
  5.  | This Library is part of IDC's TesSeRact Development Tools product
  6.  | line. For information about other IDC products, call 1-215-443-9705.
  7.  *-V--------------------------------------------------------------------*
  8.  | $Header:   tcxl_msc.h     552.2   22 Apr 1991  0:29:48  $
  9.  |
  10.  | $Log:   tcxl_msc.h    $
  11.  *-D--------------------------------------------------------------------*
  12.  | <TCXL_msc.h> : Internal Microsoft C compiler-specific definitions.
  13.  *-N-----------------------[ Notes and Caveats ]------------------------*
  14.  | 1) Microsort C 5.1, 6.0, or QC 2.0, 2.5 or later is required for TCXL.
  15.  | 2) Included by <TCXLdef.h> if the global M_I86 symbol is defined.
  16.  *======================================================================*/
  17. #ifndef  _TCXL_cc_                     /* only one compiler             */
  18. #  define   _TCXL_cc_   3              /* Microsoft C/QuickC            */
  19. #  define   _TCXL_msc_  1              /* turn on crufty casts          */
  20. #  ifdef NO_EXT_KEYS
  21. #     error TCXL requires extensions to the ANSI standard
  22. #  else
  23. #     if (_MSC_VER >= 600)             /* MSC 6.0, warts and all        */
  24. #        define   CDC   _cdecl         /* QuickC 2.5                    */
  25. #        define   PAS   _pascal
  26. #        define   NEAR  _near
  27. #        define   FAR   _far
  28. #     else                             /* good old MSC 5.1              */
  29. #        define   CDC   cdecl          /* QuickC 2.0                    */
  30. #        define   PAS   pascal
  31. #        define   NEAR  near
  32. #        define   FAR   far
  33. #     endif
  34. #  endif
  35. #  ifdef NULL                          /* use local definition          */
  36. #     undef NULL
  37. #  endif
  38. #  if (_MSC_VER >= 600)                /* MSC 6.0, warts and all        */
  39. #     define   NULL  ((void *)0)
  40. #     if defined(M_I86SM) || defined(M_I86MM)
  41. #        define   _TCXL_dat_   0       /* near data                     */
  42. #     else
  43. #        define   _TCXL_dat_   1       /* far data                      */
  44. #     endif
  45. #  else                                /* good old MSC 5.1              */
  46. #     if defined(M_I86SM) || defined(M_I86MM)
  47. #        define   NULL  0
  48. #        define   _TCXL_dat_   0       /* near data                     */
  49. #     else
  50. #        define   NULL  0L
  51. #        define   _TCXL_dat_   1       /* far data                      */
  52. #     endif
  53. #  endif
  54. #  if defined(M_I86LM) || defined(M_I86MM)
  55. #     define   _TCXL_cod_    1         /* far code                      */
  56. #  else
  57. #     define   _TCXL_cod_    0         /* near code                     */
  58. #  endif
  59. #  define   __WORDSWAP__
  60. #endif   /*- _TCXL_cc_ : End of <TCXL_msc.h> ---------------------------*/
  61.