summaryrefslogtreecommitdiff
path: root/libpcsxcore/cdrom.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/cdrom.h')
-rw-r--r--libpcsxcore/cdrom.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/cdrom.h b/libpcsxcore/cdrom.h
index f2ea29b1..3116cde8 100644
--- a/libpcsxcore/cdrom.h
+++ b/libpcsxcore/cdrom.h
@@ -20,6 +20,10 @@
#ifndef __CDROM_H__
#define __CDROM_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "psxcommon.h"
#include "decode_xa.h"
#include "r3000a.h"
@@ -102,4 +106,7 @@ void cdrWrite2(unsigned char rt);
void cdrWrite3(unsigned char rt);
int cdrFreeze(gzFile f, int Mode);
+#ifdef __cplusplus
+}
+#endif
#endif