home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / MAXMAILP.ZIP / COMPILER.H next >
C/C++ Source or Header  |  1990-10-12  |  3KB  |  82 lines

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *  MAXIMUS-CBCS Source Code, Version 1.02                                 *
  4.  *  Copyright 1989, 1990 by Scott J. Dudley.  All rights reserved.         *
  5.  *                                                                         *
  6.  *  Compiler-determination and memory-model-determination routines         *
  7.  *                                                                         *
  8.  *  For complete details of the licensing restrictions, please refer to    *
  9.  *  the licence agreement, which is published in its entirety in MAX.C     *
  10.  *  and LICENCE.MAX.                                                       *
  11.  *                                                                         *
  12.  *  USE OF THIS FILE IS SUBJECT TO THE RESTRICTIONS CONTAINED IN THE       *
  13.  *  MAXIMUS-CBCS LICENSING AGREEMENT.  IF YOU DO NOT FIND THE TEXT OF THIS *
  14.  *  AGREEMENT IN ANY OF THE  AFOREMENTIONED FILES, OR IF YOU DO NOT HAVE   *
  15.  *  THESE FILES, YOU SHOULD IMMEDIATELY CONTACT THE AUTHOR AT ONE OF THE   *
  16.  *  ADDRESSES LISTED BELOW.  IN NO EVENT SHOULD YOU PROCEED TO USE THIS    *
  17.  *  FILE WITHOUT HAVING ACCEPTED THE TERMS OF THE MAXIMUS-CBCS LICENSING   *
  18.  *  AGREEMENT, OR SUCH OTHER AGREEMENT AS YOU ARE ABLE TO REACH WITH THE   *
  19.  *  AUTHOR.                                                                *
  20.  *                                                                         *
  21.  *  You can contact the author at one of the address listed below:         *
  22.  *                                                                         *
  23.  *  Scott Dudley           FidoNet  1:249/106                              *
  24.  *  777 Downing St.        IMEXnet  89:483/202                             *
  25.  *  Kingston, Ont.         Internet f106.n249.z1.fidonet.org               *
  26.  *  Canada - K7M 5N3       BBS      (613) 389-8315 - HST/14.4K, 24hrs      *
  27.  *                                                                         *
  28.  ***************************************************************************/
  29.  
  30. #ifndef __COMPILER_H_DEFINED
  31. #define __COMPILER_H_DEFINED
  32.  
  33. #if (defined(M_I86SM) || defined(M_I86MM)) || (defined(M_I86CM) || defined(M_I86LM) || defined(M_I86HM))
  34. #define __MSC__
  35. #endif
  36.  
  37.  
  38. #ifdef M_I86SM
  39. #define __SMALL__
  40. #endif
  41.  
  42. #ifdef M_I86MM
  43. #define __MEDIUM__
  44. #endif
  45.  
  46. #ifdef M_I86CM
  47. #define __COMPACT__
  48. #endif
  49.  
  50. #ifdef M_I86LM
  51. #define __LARGE__
  52. #endif
  53.  
  54. #ifdef M_I86HM
  55. #define __HUGE__
  56. #endif
  57.  
  58.  
  59.  
  60. #ifdef __SMALL__
  61. #define __NEARCODE__
  62. #define __NEARDATA__
  63. #endif
  64.  
  65. #ifdef __MEDIUM__
  66. #define __FARCODE__
  67. #define __NEARDATA__
  68. #endif
  69.  
  70. #ifdef __COMPACT__
  71. #define __NEARCODE__
  72. #define __FARDATA__
  73. #endif
  74.  
  75. #if defined(__LARGE__) || defined(__HUGE__)
  76. #define __FARCODE__
  77. #define __FARDATA__
  78. #endif
  79.  
  80. #endif
  81.  
  82.