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 2003/05/01 23:12:40 UTC
cvs commit: xml-xerces/c/src/xercesc/util/Platforms/OS400 OS400PlatformUtils.cpp
peiyongz 2003/05/01 14:12:40
Modified: c/src/xercesc/util/Platforms/OS400 OS400PlatformUtils.cpp
Log:
socket support added: patch from James Devries
Revision Changes Path
1.10 +9 -1 xml-xerces/c/src/xercesc/util/Platforms/OS400/OS400PlatformUtils.cpp
Index: OS400PlatformUtils.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Platforms/OS400/OS400PlatformUtils.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- OS400PlatformUtils.cpp 25 Apr 2003 17:20:29 -0000 1.9
+++ OS400PlatformUtils.cpp 1 May 2003 21:12:40 -0000 1.10
@@ -98,6 +98,10 @@
#include <xercesc/util/MsgLoaders/ICU/ICUMsgLoader.hpp>
#endif
+#if defined (XML_USE_NETACCESSOR_SOCKET)
+ #include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
+#endif
+
XERCES_CPP_NAMESPACE_BEGIN
char* PackingRepText(const char * const repText1,
@@ -109,7 +113,11 @@
// ---------------------------------------------------------------------------
XMLNetAccessor* XMLPlatformUtils::makeNetAccessor()
{
+#if defined (XML_USE_NETACCESSOR_SOCKET)
+ return new SocketNetAccessor();
+#else
return 0;
+#endif
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org