X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=lhnet.h;h=1d0de942b5d12651e8a6a6d6bb0a964931dc5e2e;hb=3d965e693bc7bc6bd76e36996f893c4ddb87690c;hp=b9868a190bcda42ff7aef508297651f5606c70bf;hpb=0a2edb85ad96a5fe17d5c3d694e70ab8aaf65def;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