Skip to content

Commit

Permalink
Define _DEBUG to 0 if not done yet
Browse files Browse the repository at this point in the history
to avoid the preprocess warning

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I4ae1eb8533563d377ec8614f0c9428c8734e1f2c
  • Loading branch information
xiaoxiang781216 committed Mar 10, 2021
1 parent deff9ab commit f1bebe2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tlsf.c
Expand Up @@ -7,6 +7,10 @@

#include "tlsf.h"

#if !defined(_DEBUG)
#define _DEBUG 0
#endif

#if defined(__cplusplus)
#define tlsf_decl inline
#else
Expand Down

0 comments on commit f1bebe2

Please sign in to comment.