diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-11-20 23:43:24 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-11-20 23:43:24 +0100 |
commit | c2b435aa4f36d118d855a9f5295f370d22568ef3 (patch) | |
tree | 3fa74a358ddc72ba52da266f6f39f45fe9b2cc0b /FICS | |
parent | dcf8a87cefb16b12c6c8b415c878dd081962728d (diff) |
Added FICS begin/end macros
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/common.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 */ |