From 596e3f8a5e53f092d5d7d66126687e303601f72e Mon Sep 17 00:00:00 2001 From: Sunxin Date: Thu, 16 Aug 2018 10:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0C++=E6=94=AF=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/webclient.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/inc/webclient.h b/inc/webclient.h index d995396..c32dbf6 100644 --- a/inc/webclient.h +++ b/inc/webclient.h @@ -23,6 +23,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + #undef DBG_SECTION_NAME #undef DBG_LEVEL #undef DBG_COLOR @@ -147,4 +151,8 @@ int webclient_get_file(const char *URI, const char *filename); int webclient_post_file(const char *URI, const char *filename, const char *form_data); #endif +#ifdef __cplusplus + } +#endif + #endif