mirror of
https://github.com/curl/curl.git
synced 2026-07-30 05:18:08 +03:00
move DEBUGF macro definition to setup_once.h
This commit is contained in:
parent
abe90019d3
commit
ef6f24a7ce
3 changed files with 22 additions and 6 deletions
|
|
@ -149,5 +149,16 @@ typedef int sig_atomic_t;
|
|||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* Macro used to include code only in debug builds.
|
||||
*/
|
||||
|
||||
#ifdef CURLDEBUG
|
||||
#define DEBUGF(X) X
|
||||
#else
|
||||
#define DEBUGF(X) do { } while (0)
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __SETUP_ONCE_H */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue