summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets_win.h
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-22 23:00:14 +0000
committerJani Taskinen <jani@php.net>2007-07-22 23:00:14 +0000
commit993f77ef9de282f24d8cd1106f455d28ef7de389 (patch)
treea10602b967509d04aa67eee6972bdcff76eeb2c8 /ext/sockets/php_sockets_win.h
parent08b144f722a0d484800d8d19e8f5e5439c5d99dd (diff)
downloadphp-git-993f77ef9de282f24d8cd1106f455d28ef7de389.tar.gz
- 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