summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets_win.h
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-22 23:01:20 +0000
committerJani Taskinen <jani@php.net>2007-07-22 23:01:20 +0000
commit0b40ec1f1949731f46680bbb5ed595f03aaaca0d (patch)
treec285291b60a99cacb5745d4cbc803fd6cd7adb1d /ext/sockets/php_sockets_win.h
parent815d8a974364be5f23392930123c2407620eaf24 (diff)
downloadphp-git-0b40ec1f1949731f46680bbb5ed595f03aaaca0d.tar.gz
MFH:- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ)
Diffstat (limited to 'ext/sockets/php_sockets_win.h')
-rw-r--r--ext/sockets/php_sockets_win.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/ext/sockets/php_sockets_win.h b/ext/sockets/php_sockets_win.h
index a3b3ab4ed7..1d37c42c45 100644
--- a/ext/sockets/php_sockets_win.h
+++ b/ext/sockets/php_sockets_win.h
@@ -24,13 +24,6 @@
#ifdef PHP_WIN32
-#define F_SETFL 0
-#define F_GETFL 1
-#define F_SETFD 2
-#define F_GETFD 3
-
-#define O_NONBLOCK FIONBIO
-
#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
#define ECONNRESET WSAECONNRESET
@@ -50,6 +43,5 @@ struct sockaddr_un {
int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
int inet_aton(const char *cp, struct in_addr *inp);
-int fcntl(int fd, int cmd, ...);
#endif