nativity/lib/libc/mingw/libsrc/ws2tcpip/in6_addr_equal.c
David Gonzalez Martin 38011a233c Integrate libs
2024-03-02 12:58:12 -06:00

13 lines
286 B
C

#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#undef __CRT__NO_INLINE
#define __CRT__NO_INLINE
#include <winsock2.h>
#include <ws2tcpip.h>
int IN6_ADDR_EQUAL(const struct in6_addr *a,const struct in6_addr *b)
{
return (memcmp(a, b, sizeof(struct in6_addr)) == 0);
}