You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Improvements to scons defined WINVER/_WIN32_WINNT
(cherry picked from commit 65483d57bf)
This commit is contained in:
committed by
Rémi Verschelde
parent
8a5596322d
commit
9c8ecb45f8
@@ -3,11 +3,11 @@
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#ifdef WINDOWS_ENABLED
|
||||
// Workaround mingw missing flags!
|
||||
#ifndef IPV6_V6ONLY
|
||||
#define IPV6_V6ONLY 27
|
||||
#endif
|
||||
#if defined(__MINGW32__ ) && (!defined(__MINGW64_VERSION_MAJOR) || __MINGW64_VERSION_MAJOR < 4)
|
||||
// Workaround for mingw-w64 < 4.0
|
||||
#ifndef IPV6_V6ONLY
|
||||
#define IPV6_V6ONLY 27
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// helpers for sockaddr -> IP_Address and back, should work for posix and winsock. All implementations should use this
|
||||
|
||||
Reference in New Issue
Block a user