aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/common.h
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-20 23:43:24 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-20 23:43:24 +0100
commitc2b435aa4f36d118d855a9f5295f370d22568ef3 (patch)
tree3fa74a358ddc72ba52da266f6f39f45fe9b2cc0b /FICS/common.h
parentdcf8a87cefb16b12c6c8b415c878dd081962728d (diff)
Added FICS begin/end macros
Diffstat (limited to 'FICS/common.h')
-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 */