infra : Include dlog.h only when log is enabled 76/262276/1
authorJunsuChoi <jsuya.choi@samsung.com>
Fri, 6 Aug 2021 01:07:21 +0000 (10:07 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Fri, 6 Aug 2021 01:07:21 +0000 (10:07 +0900)
Change-Id: I91367053d6a9da83218e0b9bd5ad8638254d4617

src/lib/tvgCommon.h

index 596746d..4bf1d13 100644 (file)
@@ -22,7 +22,9 @@
 #ifndef _TVG_COMMON_H_
 #define _TVG_COMMON_H_
 
+#ifdef THORVG_LOG_ENABLED
 #include <dlog.h>
+#endif
 #include "config.h"
 #include "thorvg.h"