Skip to content
Snippets Groups Projects
Commit 37f0b875 authored by Alberto Massari's avatar Alberto Massari
Browse files

If the option /Zc:wchar_t is specified, map XMLCh to wchar_t, or trying to use...

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)


git-svn-id: https://svn.apache.org/repos/asf/xerces/c/trunk@176298 13f79535-47bb-0310-9956-ffa450edef68
parent 3b005aab
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
/* /*
* $Log$ * $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 * Revision 1.11 2004/11/15 13:30:40 amassari
* Add build target for VC7.1 to create a static library * Add build target for VC7.1 to create a static library
* *
...@@ -146,7 +149,11 @@ ...@@ -146,7 +149,11 @@
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Define our version of the XML character // Define our version of the XML character
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
#ifdef _NATIVE_WCHAR_T_DEFINED
typedef wchar_t XMLCh;
#else
typedef unsigned short XMLCh; typedef unsigned short XMLCh;
#endif
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
// Define unsigned 16 and 32 bits integers // Define unsigned 16 and 32 bits integers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment