Allow it to build on Windows again.

This commit is contained in:
Jonathan Naylor
2024-04-22 13:57:09 +01:00
parent 2b81fe225b
commit 0dffbf9ddb
3 changed files with 15 additions and 4 deletions

View File

@@ -69,10 +69,11 @@ private:
unsigned short m_localPort;
#if defined(_WIN32) || defined(_WIN64)
SOCKET m_fd;
int m_af;
#else
int m_fd;
#endif
sa_family_t m_af;
#endif
};
#endif