Portability and IPV6_ADD_MEMBERSHIP.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 27 Jun 2011 16:57:07 +0000 (16:57 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 27 Jun 2011 16:57:07 +0000 (16:57 +0000)
org.gridsite.core/src/mod_gridsite.c

index c89392d..cb65151 100644 (file)
 
 #include "gridsite.h"
 
+#ifndef IPV6_ADD_MEMBERSHIP
+#ifdef  IPV6_JOIN_GROUP
+#define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+#endif
+#endif
+
 #ifndef UNSET
 #define UNSET -1
 #endif