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 sa...@apache.org on 2004/12/01 05:35:59 UTC
cvs commit: ws-axis/c/src/platforms/windows PlatformSpecificWindows.hpp
sanjaya 2004/11/30 20:35:59
Modified: c/src/platforms/windows PlatformSpecificWindows.hpp
Log:
defined #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 Steve Hardy.
Revision Changes Path
1.4 +1 -0 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- PlatformSpecificWindows.hpp 26 Nov 2004 15:26:23 -0000 1.3
+++ PlatformSpecificWindows.hpp 1 Dec 2004 04:35:59 -0000 1.4
@@ -18,6 +18,7 @@
#if !defined( _PLATFORM_SPECIFIC_WINDOWS_HPP )
#define _PLATFORM_SPECIFIC_WINDOWS_HPP
+#define _WIN32_WINNT 0x0400
#include <windows.h>
// =============================================================