X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=lhnet.h;fp=lhnet.h;h=1d0de942b5d12651e8a6a6d6bb0a964931dc5e2e;hb=8cc0fcdbbd3b8f4a44413d4eeea4ae6ddc7ad604;hp=b9868a190bcda42ff7aef508297651f5606c70bf;hpb=40c576f6525015d3b5bebfd6a155ad0e989ed55e;p=xonotic%2Fdarkplaces.git diff --git a/lhnet.h b/lhnet.h index b9868a19..1d0de942 100644 --- a/lhnet.h +++ b/lhnet.h @@ -16,7 +16,11 @@ typedef struct lhnetaddress_loop_s lhnetaddress_loop_t; #define LHNETADDRESSTYPE_INET4_FAMILY 2 +#ifdef WIN32 +#define LHNETADDRESSTYPE_INET6_FAMILY 23 +#else #define LHNETADDRESSTYPE_INET6_FAMILY 10 +#endif // compatible with sockaddr_in typedef struct lhnetaddress_inet4_s