What bug does the patch fix? What features does the patch add? Make socket_include pick the MacOSX part for Apple computers
For which SubVersion revision was the patch created? 6216
Is there a thread in the bug report section? No.
Who has been writing this patch? Me, Deedee, when I found it wasn't fully working.
Index: dep/include/sockets/socket_include.h
===================================================================
--- dep/include/sockets/socket_include.h (revision 6216)
+++ dep/include/sockets/socket_include.h (working copy)
@@ -157,7 +157,7 @@
# include <netinet/in.h>
typedef in_addr_t ipaddr_t;
typedef in_port_t port_t;
-#elif defined MACOSX
+#elif defined __APPLE__
// ----------------------------------------
// Mac OS X
#include <string.h>
(MACOSX define doesn't work, __APPLE__ one does.)