From c2b435aa4f36d118d855a9f5295f370d22568ef3 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Wed, 20 Nov 2024 23:43:24 +0100 Subject: Added FICS begin/end macros --- FICS/common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/FICS/common.h b/FICS/common.h index bbab461..0d10e84 100644 --- a/FICS/common.h +++ b/FICS/common.h @@ -61,4 +61,12 @@ #define ASSERT(expression) ((void) 0) #endif +#ifdef __cplusplus +#define __FICS_BEGIN_DECLS extern "C" { +#define __FICS_END_DECLS } +#else +#define __FICS_BEGIN_DECLS +#define __FICS_END_DECLS +#endif + #endif /* _COMMON_H */ -- cgit v1.2.3