mirror of
https://github.com/curl/curl.git
synced 2026-07-29 01:13:06 +03:00
move fake_sclose() non-debug def to curl_mem_unset.h
This way memdebug.h isn't required to use it.
This commit is contained in:
parent
79941d4657
commit
49a02992f3
2 changed files with 3 additions and 5 deletions
|
|
@ -55,5 +55,8 @@
|
|||
#undef fdopen
|
||||
#undef fclose
|
||||
|
||||
#undef fake_sclose
|
||||
#define fake_sclose(x) Curl_nop_stmt
|
||||
|
||||
#undef HEADER_CURL_MEMORY_H
|
||||
#undef HEADER_CURL_MEMDEBUG_H
|
||||
|
|
|
|||
|
|
@ -89,10 +89,5 @@
|
|||
#undef fclose
|
||||
#define fclose(file) curl_dbg_fclose(file,__LINE__,__FILE__)
|
||||
|
||||
#else
|
||||
|
||||
#undef fake_sclose
|
||||
#define fake_sclose(x) Curl_nop_stmt
|
||||
|
||||
#endif /* CURLDEBUG */
|
||||
#endif /* HEADER_CURL_MEMDEBUG_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue