mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:33:42 +03:00
move sclose/fake_sclose defs to curl_setup.h
drop the undef/refer dance, it's unnecessary.
This commit is contained in:
parent
759dea96b6
commit
0cef0cb645
4 changed files with 9 additions and 17 deletions
|
|
@ -73,13 +73,6 @@
|
|||
__LINE__, __FILE__)
|
||||
#endif
|
||||
|
||||
/* sclose is probably already defined, redefine it! */
|
||||
#undef sclose
|
||||
#define sclose(sockfd) curl_dbg_sclose(sockfd,__LINE__,__FILE__)
|
||||
|
||||
#undef fake_sclose
|
||||
#define fake_sclose(sockfd) curl_dbg_mark_sclose(sockfd,__LINE__,__FILE__)
|
||||
|
||||
#undef fopen
|
||||
#define fopen(file,mode) curl_dbg_fopen(file,mode,__LINE__,__FILE__)
|
||||
#undef fdopen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue