Fix MinGW build warning (#482)

This commit is contained in:
lanthora
2023-09-01 23:00:35 +08:00
committed by GitHub
parent a7019631b7
commit 0dd284267a
3 changed files with 8 additions and 4 deletions

View File

@@ -27,9 +27,13 @@
// mingw build quirks
#if defined(_WIN32) && defined(__GNUC__)
#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV NI_NUMERICSERV
#endif
#ifndef AI_ADDRCONFIG
#define AI_ADDRCONFIG LUP_ADDRCONFIG
#endif
#endif
namespace ix
{