From ed95fd840dcf5cd22fda0c7fd4abd4561f58a265 Mon Sep 17 00:00:00 2001 From: Matt Borgerson Date: Tue, 17 Dec 2019 14:34:36 -0700 Subject: Define DEBUG=0 macro only when undefined --- gdbstub.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdbstub.h b/gdbstub.h index 53cf50b..9c7b505 100644 --- a/gdbstub.h +++ b/gdbstub.h @@ -24,7 +24,9 @@ #define _GDBSTUB_H_ /* Enable debug statements (printf) */ +#ifndef DEBUG #define DEBUG 0 +#endif /* Include platform specific definitions */ #include "gdbstub_sys.h" -- cgit v1.2.3