mirror of
https://github.com/open-simh/simh.git
synced 2026-01-13 23:37:13 +00:00
Add support to listen on IPv4 and IPv6 sockets when compiling on XP but running on later (IPv6 capable) Windows environments
This commit is contained in:
parent
1213f098e2
commit
5f44b2e7db
@ -380,6 +380,9 @@ return 0;
|
||||
|
||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
||||
|
||||
#if !defined(IPV6_V6ONLY) /* Older XP environments may not define IPV6_V6ONLY */
|
||||
#define IPV6_V6ONLY 27 /* Treat wildcard bind as AF_INET6-only. */
|
||||
#endif
|
||||
/* Dynamic DLL load variables */
|
||||
#ifdef _WIN32
|
||||
static HINSTANCE hLib = 0; /* handle to DLL */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user