https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e6eec56a441e82e7e311a…
commit e6eec56a441e82e7e311a952970a62b0998e4d45
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Fri Nov 29 08:14:56 2019 +0100
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Sat Dec 21 12:44:48 2019 +0100
[PSDK] Add extern "C" for c++ code in mmddk.h
---
sdk/include/psdk/mmddk.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sdk/include/psdk/mmddk.h b/sdk/include/psdk/mmddk.h
index fdb46d1c32a..48e7fb9ca58 100644
--- a/sdk/include/psdk/mmddk.h
+++ b/sdk/include/psdk/mmddk.h
@@ -29,6 +29,10 @@
#include <mmsystem.h>
#include <winbase.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Maxium drivers */
#define MAXWAVEDRIVERS 10
@@ -480,4 +484,8 @@ DWORD WINAPI mmGetCurrentTask(void);
#include <poppack.h>
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif /* __MMDDK_H */