diff options
author | sfan5 <sfan5@live.de> | 2021-12-29 23:01:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-29 23:01:26 +0100 |
commit | 0ea8df4d64959a7c7ec4e55b4895d6b16dad3000 (patch) | |
tree | 3f1e0cf533142974d2d294f890396992bfdcbe02 /src/filesys.cpp | |
parent | 05573d6d8d9e5a756ab1b03b159b127144f8e775 (diff) | |
download | dragonfireclient-0ea8df4d64959a7c7ec4e55b4895d6b16dad3000.tar.xz |
Socket-related cleanups
Improve error handling on Windows and reduce the size of the `Address` class
Diffstat (limited to 'src/filesys.cpp')
-rw-r--r-- | src/filesys.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filesys.cpp b/src/filesys.cpp index 60090c801..ea00def6a 100644 --- a/src/filesys.cpp +++ b/src/filesys.cpp @@ -41,7 +41,9 @@ namespace fs * Windows * ***********/ +#ifndef _WIN32_WINNT #define _WIN32_WINNT 0x0501 +#endif #include <windows.h> #include <shlwapi.h> #include <io.h> |