summaryrefslogtreecommitdiff
path: root/config.dos
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-06-19 00:41:03 +0000
committerYang Tse <yangsita@gmail.com>2009-06-19 00:41:03 +0000
commitf34c2a879bad4465b383ecd395bce30310f62166 (patch)
treef951395ecafb89b5a3055b4fe63d6ace12328cb6 /config.dos
parent0757cbf7f4ddeca979a0232dcd4fb0ed44c68d17 (diff)
downloadc-ares-f34c2a879bad4465b383ecd395bce30310f62166.tar.gz
c-ares-f34c2a879bad4465b383ecd395bce30310f62166.tar.bz2
c-ares-f34c2a879bad4465b383ecd395bce30310f62166.zip
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 'config.dos')
-rw-r--r--config.dos2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.dos b/config.dos
index 98b1765..96baa9c 100644
--- a/config.dos
+++ b/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