sclose() function-like macro definition used to close a socket,

now solely based on HAVE_CLOSESOCKET and HAVE_CLOSESOCKET_CAMEL
config file preprocessor definitions.
This commit is contained in:
Yang Tse
2009-06-19 00:41:03 +00:00
parent 0757cbf7f4
commit f34c2a879b
5 changed files with 25 additions and 15 deletions
+2
View File
@@ -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