winmm: Make mmddk.h C++ compatible.
Francois Gouget
fgouget at free.fr
Thu Aug 30 09:16:07 CDT 2007
---
include/mmddk.h | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/include/mmddk.h b/include/mmddk.h
index fb7b99e..57d3e4b 100644
--- a/include/mmddk.h
+++ b/include/mmddk.h
@@ -26,6 +26,10 @@
#include <mmsystem.h>
#include <winbase.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MAX_MIDIINDRV (16)
/* For now I'm making 16 the maximum number of midi devices one can
* have. This should be more than enough for everybody. But as a purist,
@@ -465,4 +469,8 @@ DWORD WINAPI mmGetCurrentTask(VOID);
#include <poppack.h>
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __MMDDK_H */
--
1.5.2.4
More information about the wine-patches
mailing list