]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - lhnet.h
optimizations to surface rendering setup
[xonotic/darkplaces.git] / lhnet.h
diff --git a/lhnet.h b/lhnet.h
index b9868a190bcda42ff7aef508297651f5606c70bf..1d0de942b5d12651e8a6a6d6bb0a964931dc5e2e 100644 (file)
--- 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