From 58ef4d7be0d2df0bcc0ebfd2475cd153e9b9f36a Mon Sep 17 00:00:00 2001 From: armink Date: Mon, 25 May 2015 10:50:11 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91C?= =?UTF-8?q?++=E7=BC=96=E8=AF=91=E5=99=A8=E7=9A=84=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: armink --- easylogger/inc/elog.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/easylogger/inc/elog.h b/easylogger/inc/elog.h index 2faef5f..d852a45 100644 --- a/easylogger/inc/elog.h +++ b/easylogger/inc/elog.h @@ -27,6 +27,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + /* output log's level */ #define ELOG_LVL_ASSERT 0 #define ELOG_LVL_ERROR 1 @@ -49,7 +53,7 @@ /* output filter's keyword max length */ #define ELOG_FILTER_KW_MAX_LEN 16 /* EasyLogger software version number */ -#define ELOG_SW_VERSION "0.05.16" +#define ELOG_SW_VERSION "0.05.25" /* EasyLogger assert for developer. */ #define ELOG_ASSERT(EXPR) \ @@ -154,5 +158,8 @@ const char *elog_port_get_time(void); const char *elog_port_get_p_info(void); const char *elog_port_get_t_info(void); +#ifdef __cplusplus +} +#endif #endif /* __ELOG_H__ */