From 53983812bade3c0412d900ef2cac01e65c860d0a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 22 Jun 2024 23:06:27 +0200 Subject: Include when -DDEBUG is passed --- src/common.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/common.h b/src/common.h index d0cdbda..6a142f7 100644 --- a/src/common.h +++ b/src/common.h @@ -12,4 +12,9 @@ # define unlikely(x) (x) #endif +/* Make printf() always available in debug builds */ +#ifdef DEBUG +# include +#endif + #endif /* !ORYX_COMMON_H */ -- cgit v1.2.3