summaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/plugins.h')
-rw-r--r--libpcsxcore/plugins.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libpcsxcore/plugins.h b/libpcsxcore/plugins.h
index 949dea0c..d3c64f91 100644
--- a/libpcsxcore/plugins.h
+++ b/libpcsxcore/plugins.h
@@ -19,6 +19,10 @@
#ifndef __PLUGINS_H__
#define __PLUGINS_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
#include "psxcommon.h"
@@ -329,5 +333,8 @@ extern NETkeypressed NET_keypressed;
void CALLBACK clearDynarec(void);
extern char cdrfilename[MAXPATHLEN]; // FIXME: cleanup
-
+
+#ifdef __cplusplus
+}
+#endif
#endif