You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/08/22 22:44:47 UTC

cvs commit: xml-xerces/c/src/util/Compilers BorlandCDefs.hpp

peiyongz    01/08/22 13:44:47

  Modified:    c/src/util/Compilers BorlandCDefs.hpp
  Log:
  Project files from BCB5: From Don Mastrovito <dm...@marathontecnologies.com>
  
  Revision  Changes    Path
  1.9       +22 -2     xml-xerces/c/src/util/Compilers/BorlandCDefs.hpp
  
  Index: BorlandCDefs.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/util/Compilers/BorlandCDefs.hpp,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- BorlandCDefs.hpp	2001/03/02 20:52:53	1.8
  +++ BorlandCDefs.hpp	2001/08/22 20:44:47	1.9
  @@ -55,11 +55,28 @@
    */
   
   /*
  - * $Id: BorlandCDefs.hpp,v 1.8 2001/03/02 20:52:53 knoaman Exp $
  + * $Id: BorlandCDefs.hpp,v 1.9 2001/08/22 20:44:47 peiyongz Exp $
    */
   
   
   // ---------------------------------------------------------------------------
  +// The following values represent various compiler version levels stored in
  +// the precompiler macro __BORLANDC__, along with the associated C++Builder
  +// IDE and compiler versions.
  +//
  +//      __BORLANDC__         IDE             Compiler
  +//      ------------    --------------  ------------------
  +//         0x510        BCB1            Borland C++ 5.1
  +//         0x530        BCB3            Borland C++ 5.3
  +//         0x540        BCB4            Borland C++ 5.4
  +//         0x550        BCB5            Borland C++ 5.5
  +//         0x551        BCB5 (patch 1)  Borland C++ 5.5.1
  +//
  +// Thus, a single copy of this file may be used to define a build environment
  +// for any Borland C++Builder compiler.
  +// ---------------------------------------------------------------------------
  +
  +// ---------------------------------------------------------------------------
   //  A define in the build for each project is also used to control whether
   //  the export keyword is from the project's viewpoint or the client's.
   //  These defines provide the platform specific keywords that they need
  @@ -85,8 +102,11 @@
   // ---------------------------------------------------------------------------
   //  Define our version of the XML character
   // ---------------------------------------------------------------------------
  -// typedef wchar_t  XMLCh;
  +#if (__BORLANDC__ < 0x550)
   typedef unsigned short  XMLCh;
  +#else
  +typedef wchar_t  XMLCh;
  +#endif (__BORLANDC__ < 0x550)
   
   // ---------------------------------------------------------------------------
   //  Define our version of a strict UTF16 character
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org