summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Config.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-12-08 17:41:46 +0000
committerMark Spruiell <mes@zeroc.com>2003-12-08 17:41:46 +0000
commitb1b7ba7a2a324494ccb81ddbfd43e701ece3bc44 (patch)
treebbf9718f71de55cee79cf7a4edd73c1f20188ee8 /cpp/include/IceUtil/Config.h
parentadding MFC demo (diff)
downloadice-b1b7ba7a2a324494ccb81ddbfd43e701ece3bc44.tar.bz2
ice-b1b7ba7a2a324494ccb81ddbfd43e701ece3bc44.tar.xz
ice-b1b7ba7a2a324494ccb81ddbfd43e701ece3bc44.zip
Winsock fix
Diffstat (limited to 'cpp/include/IceUtil/Config.h')
-rw-r--r--cpp/include/IceUtil/Config.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/include/IceUtil/Config.h b/cpp/include/IceUtil/Config.h
index e961bccf101..700ee8be642 100644
--- a/cpp/include/IceUtil/Config.h
+++ b/cpp/include/IceUtil/Config.h
@@ -80,7 +80,6 @@
#if defined(_WIN32)
-
//
// Comment out the following block if you want to run on Windows 9x
// or Windows NT 3.51.
@@ -92,7 +91,6 @@
# define _WIN32_WINNT 0x0400
# endif
-
# if !defined(_DLL) || !defined(_MT)
# error "Only multi-threaded DLL libraries can be used with Ice!"
# endif
@@ -114,7 +112,7 @@
// windows.h to skip inclusion of winsock2.h, so we include it here if
// necessary.
//
-# ifndef _WINSOCK2API_
+# if !defined(_WINSOCK2API_) && !defined(_WINSOCKAPI_)
# include <winsock2.h>
# endif