You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sh...@apache.org on 2011/09/06 05:47:47 UTC

svn commit: r1165494 - /xalan/c/trunk/src/xalanc/Include/PlatformDefinitions.hpp

Author: shathaway
Date: Tue Sep  6 03:47:47 2011
New Revision: 1165494

URL: http://svn.apache.org/viewvc?rev=1165494&view=rev
Log:
JIRA [XALANC-708] ensure that XMLCh is defined when using 'C' language API interfaces.

Modified:
    xalan/c/trunk/src/xalanc/Include/PlatformDefinitions.hpp

Modified: xalan/c/trunk/src/xalanc/Include/PlatformDefinitions.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/Include/PlatformDefinitions.hpp?rev=1165494&r1=1165493&r2=1165494&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/Include/PlatformDefinitions.hpp (original)
+++ xalan/c/trunk/src/xalanc/Include/PlatformDefinitions.hpp Tue Sep  6 03:47:47 2011
@@ -15,11 +15,16 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 #if !defined(PLATFORMDEFINITIONS_HEADER_GUARD_1357924680)
 #define PLATFORMDEFINITIONS_HEADER_GUARD_1357924680
 
 #if defined(__cplusplus)
-#include "xercesc/util/XercesDefs.hpp"
+# include "xercesc/util/XercesDefs.hpp"
+#else
+/* Include xercesc autoconf to define XMLCh when using a 'C' compiler. */
+# include "xercesc/util/Xerces_autoconf_config.hpp"
+# include "xercesc/util/XercesVersion.hpp"
 #endif
 
 #if defined(_MSC_VER)



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