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 /lib/memdebug.h | |
parent | d6d63147b6a5f425b1601b0576483937fe9f99d1 (diff) | |
download | curl-2c0c05e96d8b611e1f5eedea518fa1a7857804c9.tar.gz |
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 'lib/memdebug.h')
-rw-r--r-- | lib/memdebug.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/memdebug.h b/lib/memdebug.h index 4c84247b1..96cf4ad38 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -116,9 +116,6 @@ CURL_EXTERN int curl_fclose(FILE *file, int line, const char *source); /* sclose is probably already defined, redefine it! */ #undef sclose #define sclose(sockfd) curl_sclose(sockfd,__LINE__,__FILE__) -/* ares-adjusted define: */ -#undef closesocket -#define closesocket(sockfd) curl_sclose(sockfd,__LINE__,__FILE__) #undef fopen #define fopen(file,mode) curl_fopen(file,mode,__LINE__,__FILE__) |