From ad34e55a674d7dc6ba666296551818a9cb2feec5 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Mon, 26 Apr 2021 18:55:04 +1000 Subject: [PATCH] [windows] wrap ffenestri.h for c++ --- v2/internal/ffenestri/ffenestri.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/v2/internal/ffenestri/ffenestri.h b/v2/internal/ffenestri/ffenestri.h index 056f18ae1..59e2c4ce2 100644 --- a/v2/internal/ffenestri/ffenestri.h +++ b/v2/internal/ffenestri/ffenestri.h @@ -1,6 +1,10 @@ #ifndef __FFENESTRI_H__ #define __FFENESTRI_H__ +#ifdef __cplusplus +extern "C" { +#endif + #include struct Application; @@ -42,4 +46,8 @@ extern void UpdateTrayMenuLabel(struct Application*, const char* JSON); extern void AddContextMenu(struct Application*, char *contextMenuJSON); extern void UpdateContextMenu(struct Application*, char *contextMenuJSON); +#ifdef __cplusplus +} +#endif + #endif