Author: amassari
Date: Tue Oct 10 00:00:03 2006
New Revision: 454645

URL: http://svn.apache.org/viewvc?view=rev&rev=454645
Log:
If configure decides that XMLCh has to be mapped to wchar_t, include <wchar.h>

Modified:
    xerces/c/trunk/configure
    xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.hpp.in

Modified: xerces/c/trunk/configure
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/configure?view=diff&rev=454645&r1=454644&r2=454645
==============================================================================
--- xerces/c/trunk/configure (original)
+++ xerces/c/trunk/configure Tue Oct 10 00:00:03 2006
@@ -20871,6 +20871,12 @@
 
 
 
+
+
+
+
+
+
 for ac_header in arpa/inet.h fcntl.h float.h inttypes.h langinfo.h limits.h 
locale.h \
                                memory.h netdb.h netinet/in.h nl_types.h 
stddef.h stdint.h stdlib.h \
                                string.h strings.h \
@@ -25406,6 +25412,12 @@
 
 
 
+
+
+
+
+
+
 for ac_func in clock_gettime ftime getcwd gethostbyaddr gethostbyname 
gettimeofday localeconv \
                                mblen memmove memset nl_langinfo pathconf 
realpath setlocale socket \
                                strcasecmp strncasecmp stricmp strnicmp strchr 
strdup \
@@ -28164,6 +28176,11 @@
                       xerces_cv_type_xmlch=wchar_t
                          { echo "$as_me:$LINENO: result: yes" >&5
 echo "${ECHO_T}yes" >&6; }
+
+cat >>confdefs.h <<_ACEOF
+#define XERCES_INCLUDE_WCHAR_H 1
+_ACEOF
+
 
 else
   echo "$as_me: failed program was:" >&5

Modified: xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.hpp.in
URL: 
http://svn.apache.org/viewvc/xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.hpp.in?view=diff&rev=454645&r1=454644&r2=454645
==============================================================================
--- xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.hpp.in (original)
+++ xerces/c/trunk/src/xercesc/util/Xerces_autoconf_config.hpp.in Tue Oct 10 
00:00:03 2006
@@ -46,6 +46,7 @@
 #undef XERCES_AUTOCONF
 #undef XERCES_HAVE_SYS_TYPES_H
 #undef XERCES_HAVE_INTTYPES_H
+#undef XERCES_INCLUDE_WCHAR_H
 
 #undef XERCES_S16BIT_INT
 #undef XERCES_S32BIT_INT
@@ -73,7 +74,9 @@
 #if XERCES_HAVE_SYS_TYPES_H
 #      include <sys/types.h>
 #endif
-
+#if XERCES_INCLUDE_WCHAR_H
+#      include <wchar.h>
+#endif
 
 // ---------------------------------------------------------------------------
 //  XMLSize_t is the unsigned integral type.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to