diff options
author | Yang Tse <yangsita@gmail.com> | 2009-06-19 00:41:03 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-06-19 00:41:03 +0000 |
commit | 2c0c05e96d8b611e1f5eedea518fa1a7857804c9 (patch) | |
tree | 2003c508150ca0dfb70ff71bbdd2be0fae76d314 /ares/config.dos | |
parent | d6d63147b6a5f425b1601b0576483937fe9f99d1 (diff) |
sclose() function-like macro definition used to close a socket,
now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.
Diffstat (limited to 'ares/config.dos')
-rw-r--r-- | ares/config.dos | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ares/config.dos b/ares/config.dos index 98b176545..96baa9cc4 100644 --- a/ares/config.dos +++ b/ares/config.dos @@ -154,6 +154,7 @@ #define HAVE_AF_INET6 1 #define HAVE_ARPA_INET_H 1 #define HAVE_ARPA_NAMESER_H 1 + #define HAVE_CLOSESOCKET_CAMEL 1 #define HAVE_GETHOSTNAME 1 #define HAVE_NETDB_H 1 #define HAVE_NETINET_IN_H 1 @@ -167,6 +168,7 @@ #define HAVE_SYS_UIO_H 1 #define NS_INADDRSZ 4 #define HAVE_STRUCT_SOCKADDR_IN6 1 + #define CloseSocket(s) close_s((s)) #endif #undef word |