You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2004/07/20 05:48:12 UTC

cvs commit: ws-axis/c/src/server/apache2 Apache2Transport.h

damitha     2004/07/19 20:48:12

  Modified:    c/src/server/apache ApacheTransport.h
               c/src/server/apache2 Apache2Transport.h
  Log:
  
  
  Revision  Changes    Path
  1.5       +10 -0     ws-axis/c/src/server/apache/ApacheTransport.h
  
  Index: ApacheTransport.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/server/apache/ApacheTransport.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ApacheTransport.h	6 Jul 2004 14:16:46 -0000	1.4
  +++ ApacheTransport.h	20 Jul 2004 03:48:12 -0000	1.5
  @@ -26,12 +26,22 @@
   #if !defined(AXIS_APACHETRANSPORT_H__OF_AXIS_INCLUDED_)
   #define AXIS_APACHETRANSPORT_H__OF_AXIS_INCLUDED_
   
  +#ifdef WIN32
   #include <apache1_3/httpd.h>
   #include <apache1_3/http_config.h>
   #include <apache1_3/http_core.h>
   #include <apache1_3/http_log.h>
   #include <apache1_3/http_protocol.h>
   #include <apache1_3/http_main.h>
  +#else
  +#include <httpd.h>
  +#include <http_config.h>
  +#include <http_core.h>
  +#include <http_log.h>
  +#include <http_protocol.h>
  +#include <http_main.h>
  +#endif
  +
   #include "../../transport/SOAPTransport.h"
   #include <string.h>
   
  
  
  
  1.5       +4 -2      ws-axis/c/src/server/apache2/Apache2Transport.h
  
  Index: Apache2Transport.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/server/apache2/Apache2Transport.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Apache2Transport.h	19 Jul 2004 11:33:38 -0000	1.4
  +++ Apache2Transport.h	20 Jul 2004 03:48:12 -0000	1.5
  @@ -26,14 +26,15 @@
   #if !defined(AXIS_APACHE2TRANSPORT_H__OF_AXIS_INCLUDED_)
   #define AXIS_APACHE2TRANSPORT_H__OF_AXIS_INCLUDED_
   
  -/*#include <apache2_0/httpd.h>
  +#ifdef WIN32
  +#include <apache2_0/httpd.h>
   #include <apache2_0/http_config.h>
   #include <apache2_0/http_core.h>
   #include <apache2_0/http_protocol.h>
   #include <apache2_0/http_log.h>
   #include <apache2_0/ap_compat.h>
   #include <apache2_0/apr_tables.h>
  -*/
  +#else
   #include <httpd.h>
   #include <http_config.h>
   #include <http_core.h>
  @@ -43,6 +44,7 @@
   #include <apr_tables.h>
   #include "../../transport/SOAPTransport.h"
   #include <string.h>
  +#endif
   
   class Apache2Transport : public SOAPTransport  
   {