summaryrefslogtreecommitdiff
path: root/m68kconf.h
diff options
context:
space:
mode:
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 ============================= */
/* ======================================================================== */