home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tlx501.zip / IBM.H < prev    next >
C/C++ Source or Header  |  1996-07-03  |  2KB  |  80 lines

  1. /****************************************************************************
  2.     $Id: ibm.h 501.0 1995/03/07 12:26:42 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.     IBM-specific declarations of compilation and keyword-like names.
  10.  
  11.     $Log: ibm.h $
  12.     Revision 501.0  1995/03/07 12:26:42  RON
  13.     Updated for TLX 5.01
  14.     Revision 1.5  1995/01/31 16:32:10  RON
  15.     Update for release 012
  16.     Added partial support for SunPro C++ compiler
  17.     Revision 1.4  1994/11/16  15:21:27  ron
  18.     Added _CCNAME, _CCVER, and _MODEL definitions
  19.  
  20.     Revision 1.3  1994/10/06  17:47:13  ron
  21.     Added _NOMUTABLE
  22.  
  23.     Revision 1.2  1994/09/08  15:53:42  ron
  24.     Moved O/S-specific macros into this file
  25.  
  26.     Revision 1.1  1994/08/16  18:06:48  ron
  27.     Initial revision
  28.  
  29. ****************************************************************************/
  30.  
  31. #ifndef _TLX_IBM_H
  32. #define _TLX_IBM_H
  33.  
  34. #if !defined(__IBMC__) && !defined(__IBMCPP__)
  35. #error This file is for IBM compilations only
  36. #endif
  37.  
  38. #define _CCNAME        IBM CSet++
  39. #define _CCVER        __IBMCPP__
  40.  
  41. #ifdef __DLL__
  42.     #define _IN_DLL    1
  43. #endif
  44.  
  45. #if __IBMCPP__ < 0x300
  46. #define _NORTTI        1
  47. #define _NOBOOL        1
  48. #define _NOMUTABLE    1
  49. #else
  50. #endif
  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    _Import
  62. #define _ImportFunc    _Import
  63. #define _ImportData    _Import
  64.  
  65. #if defined(__OS2__)
  66. #define OS_OS2          1
  67. #elif defined(_WIN32)
  68. #define OS_WIN32          1
  69. #define OS_WINXXX          1
  70. #else
  71. #error Unknown target platform
  72. #endif
  73.  
  74. #define _CPU_I86        1
  75. #define _LENDIAN        1
  76. #define _NULL_IS_0      1
  77. #define _MEM_FLAT       1
  78.  
  79. #endif    /* _TLX_IBM_H */
  80.