From fff482acd9dd67b2bd49b6d2997eff61cda20b2d Mon Sep 17 00:00:00 2001 From: Darian Leung Date: Fri, 10 Nov 2017 12:01:30 +0800 Subject: [PATCH] freertos/add C++ include guards for esp_heap_caps.h --- components/heap/include/esp_heap_caps.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/heap/include/esp_heap_caps.h b/components/heap/include/esp_heap_caps.h index 603b77c35a..c9a983dba6 100644 --- a/components/heap/include/esp_heap_caps.h +++ b/components/heap/include/esp_heap_caps.h @@ -17,6 +17,10 @@ #include #include "multi_heap.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * @brief Flags to indicate the capabilities of the various memory systems */ @@ -306,3 +310,6 @@ void heap_caps_dump(uint32_t caps); */ void heap_caps_dump_all(); +#ifdef __cplusplus +} +#endif