hi,
these two are quite synonymous (so maybe extending the patch to
include the reverse case could be useful later on as well).
Index: src/rtl/hbsocket.c
===================================================================
--- src/rtl/hbsocket.c (revision 13223)
+++ src/rtl/hbsocket.c (working copy)
@@ -220,6 +220,10 @@
# define SHUT_RDWR 2
#endif
+#if !defined( IPV6_JOIN_GROUP ) && defined( IPV6_ADD_MEMBERSHIP )
+# define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP
+#endif
+
#if defined( __WATCOMC__ ) && defined( HB_OS_LINUX ) && !defined(
IP_ADD_MEMBERSHIP )
/* it's missed in OpenWatcom 1.8 Linux header files :-( */
# define IP_ADD_MEMBERSHIP 35
--
[-]
mkdir /nonexistent
Index: src/rtl/hbsocket.c
===================================================================
--- src/rtl/hbsocket.c (revision 13223)
+++ src/rtl/hbsocket.c (working copy)
@@ -220,6 +220,10 @@
# define SHUT_RDWR 2
#endif
+#if !defined( IPV6_JOIN_GROUP ) && defined( IPV6_ADD_MEMBERSHIP )
+# define IPV6_JOIN_GROUP IPV6_ADD_MEMBERSHIP
+#endif
+
#if defined( __WATCOMC__ ) && defined( HB_OS_LINUX ) && !defined( IP_ADD_MEMBERSHIP )
/* it's missed in OpenWatcom 1.8 Linux header files :-( */
# define IP_ADD_MEMBERSHIP 35
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour