From 903b8dbcaad887f6e14cc8cffc22ddda08dc9f85 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 27 Aug 2022 11:53:25 +0300 Subject: Move to C++ completely --- m68kconf.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'm68kconf.h') 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 ============================= */ /* ======================================================================== */ -- cgit v1.2.3