You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by am...@apache.org on 2004/07/16 19:34:50 UTC

cvs commit: xml-xerces/c/src/xercesc/util/Platforms/Solaris SolarisPlatformUtils.cpp

amassari    2004/07/16 10:34:50

  Modified:    c/src/xercesc/util/Platforms/Solaris
                        SolarisPlatformUtils.cpp
  Log:
  Enable libWWW on Solaris
  
  Revision  Changes    Path
  1.26      +7 -3      xml-xerces/c/src/xercesc/util/Platforms/Solaris/SolarisPlatformUtils.cpp
  
  Index: SolarisPlatformUtils.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Solaris/SolarisPlatformUtils.cpp,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- SolarisPlatformUtils.cpp	29 Jan 2004 11:51:20 -0000	1.25
  +++ SolarisPlatformUtils.cpp	16 Jul 2004 17:34:50 -0000	1.26
  @@ -110,7 +110,9 @@
   #endif
   
   
  -#if defined (XML_USE_NETACCESSOR_SOCKET)
  +#if defined (XML_USE_NETACCESSOR_LIBWWW)
  +    #include <xercesc/util/NetAccessors/libWWW/LibWWWNetAccessor.hpp>
  +#elif defined (XML_USE_NETACCESSOR_SOCKET)
       #include <xercesc/util/NetAccessors/Socket/SocketNetAccessor.hpp>
   #endif
   
  @@ -127,7 +129,9 @@
   
   XMLNetAccessor* XMLPlatformUtils::makeNetAccessor()
   {
  -#if defined (XML_USE_NETACCESSOR_SOCKET)
  +#if defined (XML_USE_NETACCESSOR_LIBWWW)
  +    return new LibWWWNetAccessor();
  +#elif defined (XML_USE_NETACCESSOR_SOCKET)
       return new SocketNetAccessor();
   #else
       return 0;
  
  
  

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