php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login

Patch define_apple_use_rfc_3542 for Sockets related Bug #77136

Patch version 2018-11-10 15:29 UTC

Return to Bug #77136 | Download this patch
Patch Revisions:

Developer:

diff --git a/ext/sockets/conversions.h b/ext/sockets/conversions.h
index 0ae6b6d853..cc10d82a74 100644
--- a/ext/sockets/conversions.h
+++ b/ext/sockets/conversions.h
@@ -3,6 +3,10 @@
 
 #include <php.h>
 
+#if defined(__APPLE__)
+#define __APPLE_USE_RFC_3542
+#endif
+
 #ifndef PHP_WIN32
 # include <netinet/in.h>
 # include <sys/socket.h>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 10:01:29 2024 UTC