aboutsummaryrefslogtreecommitdiffhomepage
path: root/portability.h
diff options
context:
space:
mode:
Diffstat (limited to 'portability.h')
-rw-r--r--portability.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/portability.h b/portability.h
index f0bfd07..c249a10 100644
--- a/portability.h
+++ b/portability.h
@@ -18,6 +18,10 @@
#define htole64(x) OSSwapHostToLittleInt64(x)
#define be64toh(x) OSSwapBigToHostInt64(x)
#define le64toh(x) OSSwapLittleToHostInt64(x)
+
+ #ifndef IPV6_ADD_MEMBERSHIP
+ #define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+ #endif
#endif
#ifdef _WIN32