diff options
Diffstat (limited to 'FICS/common.h')
-rw-r--r-- | FICS/common.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/FICS/common.h b/FICS/common.h index b30fd1d..66823ea 100644 --- a/FICS/common.h +++ b/FICS/common.h @@ -24,8 +24,10 @@ Markus Uhlin 24/01/03 Added/deleted macros and redefined ASSERT(). Markus Uhlin 24/01/04 Added PRINTFLIKE(). - Markus Uhlin 24/04/02 Defined UNUSED_PARAM() and - UNUSED_VAR() + Markus Uhlin 24/04/02 Defined: + UNUSED_PARAM() and + UNUSED_VAR(). + Markus Uhlin 24/11/20 Added FICS begin/end macros. */ #ifndef _COMMON_H @@ -60,4 +62,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 */ |