diff options
author | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-28 20:48:30 +0000 |
---|---|---|
committer | brunsch <brunsch@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-28 20:48:30 +0000 |
commit | 20513d56c4daef1fd202edee1a35b9da4fdc9eae (patch) | |
tree | 1678b74a115268fcce741324b94772d8803fe21a /ace/config-win32.h | |
parent | 579560e78ea06a0e72e3c11657cc52fc60515a96 (diff) | |
download | ATCD-20513d56c4daef1fd202edee1a35b9da4fdc9eae.tar.gz |
ChangeLogTag:Tue Sep 28 15:46:23 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
Diffstat (limited to 'ace/config-win32.h')
-rw-r--r-- | ace/config-win32.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ace/config-win32.h b/ace/config-win32.h index 52ccf063ce5..e0cfc41bfbd 100644 --- a/ace/config-win32.h +++ b/ace/config-win32.h @@ -80,9 +80,13 @@ #define ACE_HAS_STANDARD_CPP_LIBRARY 0 #endif -#if defined (_MSC_VER) && (_MSC_VER >= 1200) -#define ACE_HAS_WINSOCK2_GQOS 1 -#endif /* _MSC_VER >= 1200 */ +// Check to see whether we are compiling with the newer version +// of WinSock 2 that has GQOS support. +#if defined (WINSOCK_VERSION) && defined (MAKEWORD) +# if (WINSOCK_VERSION == MAKEWORD(2,2)) +# define ACE_HAS_WINSOCK2_GQOS 1 +# endif /* WINSOCK_VERSION == MAKEWORD(2,2) */ +#endif /* WINSOCK_VERSION && MAKEWORD*/ // The STL that comes with ACE uses the std namespace. Note however, it is not // part of the standard C++ library |