Skip to content
Snippets Groups Projects
Commit afeb58c2 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

It's _MSC_VER, not _MSVC_VER.

Sorry guys. :(
parent 8d2a0cfc
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #731 passed
...@@ -524,7 +524,7 @@ DLLEXPORT char* socket_strerror(int error_number, char* buf, size_t buflen) ...@@ -524,7 +524,7 @@ DLLEXPORT char* socket_strerror(int error_number, char* buf, size_t buflen)
#endif #endif
} }
#if defined(_WIN32) && !defined(_MSVC_VER) #if defined(_WIN32) && !defined(_MSC_VER)
DLLEXPORT int inet_pton(int af, const char *src, void *dst) DLLEXPORT int inet_pton(int af, const char *src, void *dst)
{ {
struct addrinfo hints = {0}; struct addrinfo hints = {0};
......
...@@ -241,7 +241,7 @@ DLLEXPORT void inet_setaddrport(union xp_sockaddr *addr, uint16_t port); ...@@ -241,7 +241,7 @@ DLLEXPORT void inet_setaddrport(union xp_sockaddr *addr, uint16_t port);
DLLEXPORT BOOL inet_addrmatch(union xp_sockaddr* addr1, union xp_sockaddr* addr2); DLLEXPORT BOOL inet_addrmatch(union xp_sockaddr* addr1, union xp_sockaddr* addr2);
DLLEXPORT char* socket_strerror(int, char*, size_t); DLLEXPORT char* socket_strerror(int, char*, size_t);
#if defined(_WIN32) && !defined(_MSVC_VER) #if defined(_WIN32) && !defined(_MSC_VER)
DLLEXPORT int inet_pton(int af, const char *src, void *dst); DLLEXPORT int inet_pton(int af, const char *src, void *dst);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment