Include stdio.h if debugging
This commit is contained in:
parent
2e33669291
commit
d0351314cd
|
@ -39,6 +39,10 @@
|
||||||
#define HB_DEBUG_BLOB HB_DEBUG
|
#define HB_DEBUG_BLOB HB_DEBUG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HB_DEBUG_BLOB
|
||||||
|
#include <stdio.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
struct _hb_blob_t {
|
struct _hb_blob_t {
|
||||||
hb_reference_count_t ref_count;
|
hb_reference_count_t ref_count;
|
||||||
|
|
||||||
|
|
|
@ -117,6 +117,7 @@ struct Null <Type> \
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HB_DEBUG_SANITIZE
|
#if HB_DEBUG_SANITIZE
|
||||||
|
#include <stdio.h>
|
||||||
#define TRACE_SANITIZE_ARG_DEF , unsigned int sanitize_depth
|
#define TRACE_SANITIZE_ARG_DEF , unsigned int sanitize_depth
|
||||||
#define TRACE_SANITIZE_ARG , sanitize_depth + 1
|
#define TRACE_SANITIZE_ARG , sanitize_depth + 1
|
||||||
#define TRACE_SANITIZE_ARG_INIT , 1
|
#define TRACE_SANITIZE_ARG_INIT , 1
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HB_DEBUG_APPLY
|
#if HB_DEBUG_APPLY
|
||||||
|
#include <stdio.h>
|
||||||
#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth
|
#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth
|
||||||
#define TRACE_APPLY_ARG , apply_depth + 1
|
#define TRACE_APPLY_ARG , apply_depth + 1
|
||||||
#define TRACE_APPLY_ARG_INIT , 1
|
#define TRACE_APPLY_ARG_INIT , 1
|
||||||
|
|
Loading…
Reference in New Issue