amassari 2005/01/26 06:48:14 Modified: c/src/xercesc/util/Compilers VCPPDefs.hpp Log: If the option /Zc:wchar_t is specified, map XMLCh to wchar_t, or trying to use wide-char Windows API will generate compiler errors (jira# 413) Revision Changes Path 1.12 +7 -0 xml-xerces/c/src/xercesc/util/Compilers/VCPPDefs.hpp Index: VCPPDefs.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Compilers/VCPPDefs.hpp,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- VCPPDefs.hpp 15 Nov 2004 13:30:40 -0000 1.11 +++ VCPPDefs.hpp 26 Jan 2005 14:48:14 -0000 1.12 @@ -16,6 +16,9 @@ /* * $Log$ + * Revision 1.12 2005/01/26 14:48:14 amassari + * If the option /Zc:wchar_t is specified, map XMLCh to wchar_t, or trying to use wide-char Windows API will generate compiler errors (jira# 413) + * * Revision 1.11 2004/11/15 13:30:40 amassari * Add build target for VC7.1 to create a static library * @@ -146,7 +149,11 @@ // --------------------------------------------------------------------------- // Define our version of the XML character // --------------------------------------------------------------------------- +#ifdef _NATIVE_WCHAR_T_DEFINED +typedef wchar_t XMLCh; +#else typedef unsigned short XMLCh; +#endif // --------------------------------------------------------------------------- // Define unsigned 16 and 32 bits integers
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]