From f1bebe2ae575b93f7b7fdb909556c791fef4274c Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Wed, 10 Mar 2021 01:05:42 +0800 Subject: [PATCH] Define _DEBUG to 0 if not done yet to avoid the preprocess warning Signed-off-by: Xiang Xiao Change-Id: I4ae1eb8533563d377ec8614f0c9428c8734e1f2c --- tlsf.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tlsf.c b/tlsf.c index af575737c7..6e613cce18 100644 --- a/tlsf.c +++ b/tlsf.c @@ -7,6 +7,10 @@ #include "tlsf.h" +#if !defined(_DEBUG) +#define _DEBUG 0 +#endif + #if defined(__cplusplus) #define tlsf_decl inline #else