From 686f3f0da4948f5b907ad003b60fca7b6bf91b4c Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Wed, 13 Jan 2021 09:33:15 -0500 Subject: [PATCH] Fix #757, Readd extern C inosapi.h to support C++ use --- src/os/inc/osapi.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/os/inc/osapi.h b/src/os/inc/osapi.h index 96b62a0bb..2d6e11a4b 100644 --- a/src/os/inc/osapi.h +++ b/src/os/inc/osapi.h @@ -30,6 +30,11 @@ #ifndef OSAPI_H #define OSAPI_H +#ifdef __cplusplus +extern "C" +{ +#endif + /* * Note - the "osapi-os-filesys.h" file previously included these system headers * plus a couple others. Some existing code used stdio/stdlib functions but did