aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/ares.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/ares/ares.h b/ares/ares.h
index 03b6a924a..4437e3d3a 100644
--- a/ares/ares.h
+++ b/ares/ares.h
@@ -158,17 +158,10 @@ typedef int ares_socket_t;
#define ares_socket_typedef
#endif /* ares_socket_typedef */
-#ifdef WIN32
-typedef void (*ares_sock_state_cb)(void *data,
- SOCKET socket,
- int readable,
- int writable);
-#else
typedef void (*ares_sock_state_cb)(void *data,
- int socket,
+ ares_socket_t socket_fd,
int readable,
int writable);
-#endif
struct apattern;