mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Socket-related cleanups
Improve error handling on Windows and reduce the size of the `Address` class
This commit is contained in:
parent
05573d6d8d
commit
0ea8df4d64
8 changed files with 114 additions and 156 deletions
|
@ -41,7 +41,9 @@ namespace fs
|
|||
* Windows *
|
||||
***********/
|
||||
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#include <shlwapi.h>
|
||||
#include <io.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue