home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tlx501.zip / ZORTECH.H < prev   
C/C++ Source or Header  |  1996-01-05  |  3KB  |  118 lines

  1. /****************************************************************************
  2.     $Id: zortech.h 501.0 1995/03/07 12:26:48 RON Exp $
  3.  
  4.     Copyright (c) 1991-95 Tarma Software Research. All rights reserved.
  5.  
  6.     Project:    Tarma Library for C++ V5.0
  7.     Author:    Ron van der Wal
  8.  
  9.     Zortech-specific declarations of compilation and keyword-like names.
  10.  
  11.     $Log: zortech.h $
  12.     Revision 501.0  1995/03/07 12:26:48  RON
  13.     Updated for TLX 5.01
  14.     Revision 1.5  1995/01/31 16:32:20  RON
  15.     Update for release 012
  16.     Added partial support for SunPro C++ compiler
  17.     Revision 1.4  1994/11/16  15:24:20  ron
  18.     Added _CCNAME, _CCVER, and _MODEL definitions
  19.  
  20.     Revision 1.3  1994/10/06  17:50:19  ron
  21.     Added _NOMUTABLE
  22.  
  23.     Revision 1.2  1994/09/08  15:55:54  ron
  24.     Moved O/S-specific macros into this file
  25.  
  26.     Revision 1.1  1994/08/16  18:06:58  ron
  27.     Initial revision
  28.  
  29. ****************************************************************************/
  30.  
  31. #ifndef _TLX_ZORTECH_H
  32. #define _TLX_ZORTECH_H
  33.  
  34. #ifndef __ZTC__
  35. #error This file is for Zortech compilations only
  36. #endif
  37.  
  38. #define _CCNAME        Zortech C++
  39. #define _CCVER        __ZTC__
  40.  
  41. #ifdef DLL
  42.     #define _IN_DLL    1
  43. #endif
  44.  
  45. #define _NORTTI        1
  46. #define _NOEXCEPT    1
  47. #define _NOBOOL        1
  48. #define _NOMUTABLE    1
  49.  
  50. #ifdef OS2            /* Non-segmented platforms */
  51.  
  52.     #define _Near
  53.     #define _Far
  54.     #define _Huge
  55.     #define _MODEL        Flat
  56.  
  57.     #define _ExportClass    _export
  58.     #define _ExportFunc        _export
  59.     #define _ExportData        _export
  60.  
  61.     #define _ImportClass
  62.     #define _ImportFunc
  63.     #define _ImportData
  64.  
  65.     #define OS_OS2      1
  66.     #define _CPU_I86    1
  67.     #define _LENDIAN    1
  68.     #define _NULL_IS_0  1
  69.     #define _MEM_FLAT   1
  70.  
  71. #else                /* Segmented memory architectures */
  72.  
  73.     #define _Near        _near
  74.     #define _Far        _far
  75.     #define _Huge        _huge
  76.  
  77.     #define _ExportClass    _export
  78.     #define _ExportFunc        _export _far
  79.     #define _ExportData        _export _far
  80.  
  81.     #define _ImportClass    _huge
  82.     #define _ImportFunc        _far
  83.     #define _ImportData        _far
  84.  
  85.     #if __TINY__ || __SMALL__
  86.     #define _CODE_NEAR    1
  87.     #define _DATA_NEAR    1
  88.         #define _MODEL        Tiny/Small
  89.     #elif __COMPACT__
  90.     #define _CODE_NEAR    1
  91.     #define _DATA_FAR    1
  92.         #define _MODEL        Compact
  93.     #elif __MEDIUM__
  94.     #define _CODE_FAR    1
  95.     #define _DATA_NEAR    1
  96.         #define _MODEL        Medium
  97.     #elif __LARGE__ || __HUGE__
  98.     #define _CODE_FAR    1
  99.     #define _DATA_FAR    1
  100.         #define _MODEL        Large/Huge
  101.     #endif
  102.  
  103.     #define _CPU_I86    1
  104.     #define _LENDIAN    1
  105.     #define _NULL_IS_0  1
  106.     #define _MEM_SEG    1
  107.  
  108.     #if defined(WINDOWS)
  109.         #define OS_WIN16    1
  110.         #define OS_WINXXX   1
  111.     #else
  112.         #define OS_DOS      1
  113.         #define OS_DOSXXX   1
  114.     #endif
  115. #endif
  116.  
  117. #endif    /* _TLX_ZORTECH_H */
  118.