summaryrefslogtreecommitdiff
path: root/ace/config-win32-common.h
diff options
context:
space:
mode:
authorirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-09 08:27:31 +0000
committerirfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-04-09 08:27:31 +0000
commitf0c080fdc364d753e4858872160be9e46c9c72ee (patch)
tree9000a3a9fd0ef9533bce2ec9ee8574bb0253ac78 /ace/config-win32-common.h
parent75c135d4ee37b69f112affec1948ef387456dce9 (diff)
downloadATCD-f0c080fdc364d753e4858872160be9e46c9c72ee.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/config-win32-common.h')
-rw-r--r--ace/config-win32-common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ace/config-win32-common.h b/ace/config-win32-common.h
index 4eb7c47f295..921cd42217c 100644
--- a/ace/config-win32-common.h
+++ b/ace/config-win32-common.h
@@ -240,6 +240,11 @@
#endif /* WIN32_LEAN_AND_MEAN */
#endif /* !defined (_INC_INWDOWS) */
+// Always use WS2 when available
+#if (_WIN32_WINNT >= 0x0400)
+ #define ACE_HAS_WINSOCK2
+#endif
+
#if defined (ACE_HAS_WINSOCK2)
#if !defined (_WINSOCK2API_)