summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets_win.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-21 23:37:40 +0000
committerPierre Joye <pajoye@php.net>2008-08-21 23:37:40 +0000
commitadfa214688b0baa9141422770dd2eb91b491335d (patch)
treec33453d1fd0bda151e8bcb7d02343e80c9cdf07c /ext/sockets/php_sockets_win.c
parentdcb0cc3d2b63e0388b64ccd52ec424e9c3cba385 (diff)
downloadphp-git-adfa214688b0baa9141422770dd2eb91b491335d.tar.gz
- drop bindlib usage on windows
- inet_pton, inet_ntop and inet_aton are always available (VC9 uses the CRT implementation, VC6 our own)
Diffstat (limited to 'ext/sockets/php_sockets_win.c')
-rw-r--r--ext/sockets/php_sockets_win.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ext/sockets/php_sockets_win.c b/ext/sockets/php_sockets_win.c
index 70913599e8..807324f2a2 100644
--- a/ext/sockets/php_sockets_win.c
+++ b/ext/sockets/php_sockets_win.c
@@ -72,13 +72,4 @@ int socketpair(int domain, int type, int protocol, SOCKET sock[2]) {
return 0;
}
-int inet_aton(const char *cp, struct in_addr *inp) {
- inp->s_addr = inet_addr(cp);
-
- if (inp->s_addr == INADDR_NONE) {
- return 0;
- }
-
- return 1;
-}
#endif