Skip to content

Commit b5e8597

Browse files
committed
Merge branch 'PHP-5.5'
2 parents 6eff31e + f2246f3 commit b5e8597

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

ext/sockets/php_sockets.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
# include "config.h"
2929
#endif
3030

31+
#ifdef __APPLE__
32+
#define __APPLE_USE_RFC_3542
33+
#endif
34+
3135
#if HAVE_SOCKETS
3236

3337
#include <php.h>

ext/sockets/tests/socket_set_option_error_socket_option.phpt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ Test if socket_set_option() returns 'unable to set socket option' failure for in
55
if (!extension_loaded('sockets')) {
66
die('SKIP sockets extension not available.');
77
}
8+
9+
if (PHP_OS == 'Darwin') {
10+
die('skip Not for OSX');
11+
}
12+
813
$filename = dirname(__FILE__) . '/006_root_check.tmp';
914
$fp = fopen($filename, 'w');
1015
fclose($fp);

0 commit comments

Comments
 (0)