diff options
author | Xinchen Hui <laruence@php.net> | 2013-03-05 13:58:20 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2013-03-05 13:58:20 +0800 |
commit | 3f67d5ae434236be1db2ee54baf85725ac7b6a56 (patch) | |
tree | b02e0bdc8568dc83bf8744dcfe3d9f20a39ac9c9 /ext | |
parent | 0404c38615b54f6ea58ebd16f104da03f1202324 (diff) | |
download | php-git-3f67d5ae434236be1db2ee54baf85725ac7b6a56.tar.gz |
Revert "Fixed Bug #64340 (sockets tests failed) Patch by Reeze"
build break, will only leave the test script fix first
This reverts commit f2246f352fc01295c370728d68a9bcd2bb546652.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/sockets/php_sockets.h | 4 | ||||
-rw-r--r-- | ext/sockets/tests/socket_set_option_error_socket_option.phpt | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h index 448678366a..17abf95a19 100644 --- a/ext/sockets/php_sockets.h +++ b/ext/sockets/php_sockets.h @@ -28,10 +28,6 @@ # include "config.h" #endif -#ifdef __APPLE__ -#define __APPLE_USE_RFC_3542 -#endif - #if HAVE_SOCKETS #include <php.h> diff --git a/ext/sockets/tests/socket_set_option_error_socket_option.phpt b/ext/sockets/tests/socket_set_option_error_socket_option.phpt index 471d6bf8ca..eaa0e64faf 100644 --- a/ext/sockets/tests/socket_set_option_error_socket_option.phpt +++ b/ext/sockets/tests/socket_set_option_error_socket_option.phpt @@ -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); |