mirror of
https://github.com/simh/simh.git
synced 2026-04-19 09:19:40 +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:
@@ -380,6 +380,9 @@ return 0;
|
|||||||
|
|
||||||
#if defined(_WIN32) || defined(__CYGWIN__)
|
#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 */
|
/* Dynamic DLL load variables */
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
static HINSTANCE hLib = 0; /* handle to DLL */
|
static HINSTANCE hLib = 0; /* handle to DLL */
|
||||||
|
|||||||
Reference in New Issue
Block a user