diff options
author | Adam Mitz <mitza@objectcomputing.com> | 2020-04-16 16:21:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-16 16:21:28 -0500 |
commit | e8b8245004ddf3874ab2079c4feddf70fe7a5be8 (patch) | |
tree | 3174e96da901331a89b8de39031d4a94eb987ac6 /ACE/ace/config-win32-common.h | |
parent | 0031eb38fb74419738d7a7e2bdc5d3c686f465c4 (diff) | |
parent | 509b105b343eeffe57504562e4cdd96c23414cf8 (diff) | |
download | ATCD-e8b8245004ddf3874ab2079c4feddf70fe7a5be8.tar.gz |
Merge pull request #1069 from jrw972/ipv6-recvinfo-macos
IPv6 and RECVINFO on macOS; Windows if_nametoindex
Diffstat (limited to 'ACE/ace/config-win32-common.h')
-rw-r--r-- | ACE/ace/config-win32-common.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ACE/ace/config-win32-common.h b/ACE/ace/config-win32-common.h index 3ebb2e45dab..996760bb4b9 100644 --- a/ACE/ace/config-win32-common.h +++ b/ACE/ace/config-win32-common.h @@ -55,10 +55,6 @@ # endif /* !_FILE_OFFSET_BITS */ #endif /* _WIN64 || WIN64 */ -#if !defined (_WIN32_WINNT) -# define _WIN32_WINNT 0x0501 // pretend it's at least Windows XP or Win2003 -#endif - // If the invoking procedure turned off debugging by setting NDEBUG, then // also set ACE_NDEBUG, unless the user has already set it. #if defined (NDEBUG) @@ -566,6 +562,11 @@ # define ACE_WSOCK_VERSION 1, 1 #endif /* ACE_HAS_WINSOCK2 */ +#if _WIN32_WINNT < 0x600 +# define ACE_LACKS_IF_NAMETOINDEX +#endif +#define ACE_LACKS_IF_NAMEINDEX + // Platform supports IP multicast on Winsock 2 #if defined (ACE_HAS_WINSOCK2) && (ACE_HAS_WINSOCK2 != 0) # define ACE_HAS_IP_MULTICAST |