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

  1. /****************************************************************************
  2.     $Id: think.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.     (Symantec) THINK-specific declarations of compilation and keyword-like
  10.     names.
  11.  
  12.     $Log: think.h $
  13.     Revision 501.0  1995/03/07 12:26:48  RON
  14.     Updated for TLX 5.01
  15.     Revision 1.5  1995/01/31 16:32:16  RON
  16.     Update for release 012
  17.     Added partial support for SunPro C++ compiler
  18.     Revision 1.4  1995/01/18  18:56:00  ron
  19.     Added support for _GUI preprocessor name
  20.  
  21.     Revision 1.3  1994/11/16  15:23:34  ron
  22.     Added _CCNAME, _CCVER, and _MODEL definitions
  23.  
  24.     Revision 1.2  1994/10/06  17:50:00  ron
  25.     Added _NOMUTABLE
  26.  
  27.     Revision 1.1  1994/08/16  18:06:54  ron
  28.     Initial revision
  29.  
  30. ****************************************************************************/
  31.  
  32. #ifndef _TLX_THINK_H
  33. #define _TLX_THINK_H
  34.  
  35. #if !defined(THINK_C) && !defined(THINK_CPLUS)
  36. #error This file is for Symantec/THINK compilations only
  37. #endif
  38.  
  39. #define _CCNAME        THINK C++
  40. #define _CCVER               THINK_CPLUS
  41.  
  42. #define _NORTTI        1
  43. #define _NOEXCEPT    1
  44. #define _NOBOOL        1
  45. #define _NOMUTABLE    1
  46.  
  47. #define _GUI        1
  48.  
  49. #define _Near
  50. #define _Far
  51. #define _Huge
  52. #define _MODEL        Flat
  53.  
  54. #define _ExportClass
  55. #define _ExportFunc
  56. #define _ExportData
  57.  
  58. #define _ImportClass
  59. #define _ImportFunc
  60. #define _ImportData
  61.  
  62. #ifdef THINK_C
  63.  
  64.     /* Make sure that we use 4-byte integers under THINK C for compatibility
  65.      * with Symantec C++. We could do that silently with:
  66.      *
  67.      *        #pragma option(int_4)
  68.      *
  69.      * but this might be missed by casual users.
  70.      */
  71.     #if !__option(int_4)
  72.     #error THINK C users: compile your code with 4-byte integers
  73.     #endif
  74.  
  75. #endif
  76.  
  77. /*---------------------------------------------------------------------------
  78.     Symantec C++ 6.0 for Macintosh additional functions
  79. ---------------------------------------------------------------------------*/
  80.  
  81. char *        strdup(const char *);
  82.  
  83. #endif    /* _TLX_THINK_H */
  84.  
  85.