aboutsummaryrefslogtreecommitdiff
path: root/source/snes9x.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/snes9x.h')
-rw-r--r--source/snes9x.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/snes9x.h b/source/snes9x.h
index e9ed479..e9e29b8 100644
--- a/source/snes9x.h
+++ b/source/snes9x.h
@@ -97,9 +97,13 @@
#include "fs_api.h"
#include "ds2_malloc.h"
+#ifdef __cplusplus
extern "C" {
+#endif
extern int cprintf(const char *fmt, ...);
+#ifdef __cplusplus
}
+#endif
#ifdef __WIN32__
#include "..\wsnes9x.h"