summaryrefslogtreecommitdiff
path: root/m68kconf.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2022-08-27 11:53:25 +0300
committerOxore <oxore@protonmail.com>2022-08-27 11:53:25 +0300
commit903b8dbcaad887f6e14cc8cffc22ddda08dc9f85 (patch)
tree01254a3d08791a71dea3e7f987b859ae58921d35 /m68kconf.h
parentc1b9fead37e32be1b2f97d5be2d8254fdc16d307 (diff)
Move to C++ completely
Diffstat (limited to 'm68kconf.h')
-rw-r--r--m68kconf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/m68kconf.h b/m68kconf.h
index 09e3e95..0b67f76 100644
--- a/m68kconf.h
+++ b/m68kconf.h
@@ -30,6 +30,10 @@
#ifndef M68KCONF__HEADER
#define M68KCONF__HEADER
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Configuration switches.
* Use OPT_SPECIFY_HANDLER for configuration options that allow callbacks.
* OPT_SPECIFY_HANDLER causes the core to link directly to the function
@@ -209,6 +213,10 @@ void m68k_instr_callback(int pc);
#endif /* M68K_COMPILE_FOR_MAME */
+#ifdef __cplusplus
+}
+#endif
+
/* ======================================================================== */
/* ============================== END OF FILE ============================= */
/* ======================================================================== */