aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/common.h8
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 */