]> granicus.if.org Git - php/commitdiff
Revert "Fixed Bug #64340 (sockets tests failed) Patch by Reeze"
authorXinchen Hui <laruence@php.net>
Tue, 5 Mar 2013 05:58:20 +0000 (13:58 +0800)
committerXinchen Hui <laruence@php.net>
Tue, 5 Mar 2013 05:58:20 +0000 (13:58 +0800)
build break, will only leave the test script fix first

This reverts commit f2246f352fc01295c370728d68a9bcd2bb546652.

ext/sockets/php_sockets.h
ext/sockets/tests/socket_set_option_error_socket_option.phpt

index 448678366a237a6f805dc1315685e5374132af5c..17abf95a19c8cb3b47e60d88b42577f8d2ae63c2 100644 (file)
 # include "config.h"
 #endif
 
-#ifdef __APPLE__
-#define __APPLE_USE_RFC_3542
-#endif
-
 #if HAVE_SOCKETS
 
 #include <php.h>
index 471d6bf8ca6d1350db3e39def7f4ee4fe092b373..eaa0e64faf0fd438ce3b050aa0f0aa6f489b0717 100644 (file)
@@ -5,11 +5,6 @@ Test if socket_set_option() returns 'unable to set socket option' failure for in
 if (!extension_loaded('sockets')) {
         die('SKIP sockets extension not available.');
 }
-
-if (PHP_OS == 'Darwin') {
-   die('skip Not for OSX');
-}
-
 $filename = dirname(__FILE__) . '/006_root_check.tmp';
 $fp = fopen($filename, 'w');
 fclose($fp);