Following is a patch to enable socket and libWWW support for the TRU64
platform. I have successfully used this with
  cxx [Compaq C++ V6.2-024 for Digital UNIX V4.0F  (Rev. 1229)]
as well as
  g++ [gcc version 2.95.1 19990816 (release)]
linked against libwww 5.3.2

enjoy
 -r2r-

===============================================================================
diff -c new/src/util/Platforms/Tru64//Tru64PlatformUtils.cpp 
xerces-c-src_2001-06-12/src/util/Platforms/Tru64//Tru64PlatformUtils.cpp
*** new/src/util/Platforms/Tru64//Tru64PlatformUtils.cpp        Tue Jun 12 01:55:46 
2001
--- xerces-c-src_2001-06-12/src/util/Platforms/Tru64//Tru64PlatformUtils.cpp    Wed 
Jun 13 07:57:57 2001
***************
*** 104,110 ****
--- 104,116 ----
  #include <util/MsgLoaders/InMemory/InMemMsgLoader.hpp>
  #endif
  
+ #if defined (XML_USE_NETACCESSOR_LIBWWW)
+ #include <util/NetAccessors/libWWW/LibWWWNetAccessor.hpp>
+ #elif defined (XML_USE_NETACCESSOR_SOCKET)
+ #include <util/NetAccessors/Socket/SocketNetAccessor.hpp>
+ #endif
  
+ 
  //
---------------------------------------------------------------------------
  //  Local Methods
  //
---------------------------------------------------------------------------
***************
*** 141,147 ****
--- 147,159 ----
  
  XMLNetAccessor* XMLPlatformUtils::makeNetAccessor()
  {
+ #if defined (XML_USE_NETACCESSOR_LIBWWW)
+   return new LibWWWNetAccessor();
+ #elif defined (XML_USE_NETACCESSOR_SOCKET)
+   return new SocketNetAccessor();
+ #else
    return 0;
+ #endif
  }
  
  //
---------------------------------------------------------------------------
===============================================================================



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

Reply via email to