Merge pull request #486 from hrydgard/fix-uwp-build
Fix Windows UWP build.
This commit is contained in:
commit
94f72a63b5
|
@ -33,6 +33,12 @@ typedef unsigned short uint16_t;
|
||||||
#define strncasecmp memicmp
|
#define strncasecmp memicmp
|
||||||
#endif /* defined(_MSC_VER) && (_MSC_VER >= 1400) */
|
#endif /* defined(_MSC_VER) && (_MSC_VER >= 1400) */
|
||||||
#endif /* #ifndef strncasecmp */
|
#endif /* #ifndef strncasecmp */
|
||||||
|
#if defined(WINAPI_FAMILY) && defined(WINAPI_FAMILY_PARTITION)
|
||||||
|
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP) && WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP
|
||||||
|
#define in6addr_any in6addr_any_init
|
||||||
|
static const IN6_ADDR in6addr_any_init = {0};
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
#endif /* _WIN32 */
|
#endif /* _WIN32 */
|
||||||
#if defined(__amigaos__) || defined(__amigaos4__)
|
#if defined(__amigaos__) || defined(__amigaos4__)
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
@ -986,4 +992,3 @@ error:
|
||||||
closesocket(sudp);
|
closesocket(sudp);
|
||||||
return devlist;
|
return devlist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue