[build] Add DEBUG macro value as 0 if it is not defined
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Thu, 10 Nov 2022 09:43:07 +0000 (18:43 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 15 Nov 2022 01:33:30 +0000 (10:33 +0900)
- Add DEBUG macro value as 0 if it is not defined before

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
src/libnnstreamer-edge/nnstreamer-edge-log.c

index d7a6b82ba7df541432e6bd4f76c0d6fbe1a19028..4588042798e1ce910f4628d7afe72876d3ea2dbe 100644 (file)
 #include <stdarg.h>
 #include "nnstreamer-edge-log.h"
 
+#ifndef DEBUG
+#define DEBUG 0
+#endif
+
 #if defined(__TIZEN__)
 #include <dlog.h>