From 165c1b7d1f566c76cb3c8e603987e8426e989987 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E5=A4=A9=E9=BE=99=20=28Armink=29?= Date: Mon, 12 Apr 2021 20:21:56 +0800 Subject: [PATCH] [fdb] support C++ compiler --- inc/fdb_def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/fdb_def.h b/inc/fdb_def.h index 393e43e..ce1519a 100644 --- a/inc/fdb_def.h +++ b/inc/fdb_def.h @@ -51,7 +51,7 @@ extern "C" { #ifndef FDB_PRINT #define FDB_PRINT(...) printf(__VA_ARGS__) #endif -#define FDB_LOG_PREFIX1() FDB_PRINT("[FlashDB]"FDB_LOG_TAG) +#define FDB_LOG_PREFIX1() FDB_PRINT("[FlashDB]" FDB_LOG_TAG) #define FDB_LOG_PREFIX2() FDB_PRINT(" ") #define FDB_LOG_PREFIX() FDB_LOG_PREFIX1();FDB_LOG_PREFIX2() #ifdef FDB_DEBUG_ENABLE