diff options
Diffstat (limited to 'ares/ares_private.h')
-rw-r--r-- | ares/ares_private.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h index 794844039..e70bdb5c0 100644 --- a/ares/ares_private.h +++ b/ares/ares_private.h @@ -4,7 +4,7 @@ /* $Id$ */ /* Copyright 1998 by the Massachusetts Institute of Technology. - * Copyright (C) 2004-2008 by Daniel Stenberg + * Copyright (C) 2004-2009 by Daniel Stenberg * * Permission to use, copy, modify, and distribute this * software and its documentation for any purpose and without @@ -32,16 +32,11 @@ #if !defined(WIN32) || defined(WATT32) #include <netinet/in.h> -/* We define closesocket() here so that we can use this function all over - the source code for closing sockets. */ -#define closesocket(x) close(x) #endif #ifdef WATT32 #include <tcp.h> #include <sys/ioctl.h> -#undef closesocket -#define closesocket(s) close_s(s) #define writev(s,v,c) writev_s(s,v,c) #define HAVE_WRITEV 1 #endif |