axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanj...@apache.org
Subject cvs commit: ws-axis/c/src/platforms/windows PlatformSpecificWindows.hpp
Date Wed, 01 Dec 2004 09:13:05 GMT
sanjaya     2004/12/01 01:13:05

  Modified:    c/src/platforms/windows PlatformSpecificWindows.hpp
  Log:
  defined #define _WINSOCKAPI_ instead of
  #define _WIN32_WINNT 0x0400 before including windows.h so
  that winsock.h is not included as well as winsock2.h.
  
  This fix was submitted by Samisa Abeysinghe.
  
  Revision  Changes    Path
  1.5       +2 -1      ws-axis/c/src/platforms/windows/PlatformSpecificWindows.hpp
  
  Index: PlatformSpecificWindows.hpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/platforms/windows/PlatformSpecificWindows.hpp,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PlatformSpecificWindows.hpp	1 Dec 2004 04:35:59 -0000	1.4
  +++ PlatformSpecificWindows.hpp	1 Dec 2004 09:13:05 -0000	1.5
  @@ -18,7 +18,8 @@
   #if !defined( _PLATFORM_SPECIFIC_WINDOWS_HPP )
   #define _PLATFORM_SPECIFIC_WINDOWS_HPP
   
  -#define _WIN32_WINNT 0x0400
  +//#define _WIN32_WINNT 0x0400
  +#define _WINSOCKAPI_ /* Prevent inclusion of winsock.h in windows.h */
   #include <windows.h>
   
   // =============================================================
  
  
  

Mime
View raw message