Francois Gouget : winmm: Make mmddk.h C++ compatible.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 30 13:50:24 CDT 2007


Module: wine
Branch: master
Commit: 2264b0c556fb346181a462fe674b6611a6285d46
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2264b0c556fb346181a462fe674b6611a6285d46

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Aug 30 16:16:07 2007 +0200

winmm: Make mmddk.h C++ compatible.

---

 include/mmddk.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/mmddk.h b/include/mmddk.h
index 75840a0..092a5f7 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 @@ HANDLE   WINAPI mmGetCurrentTask(void);
 
 #include <poppack.h>
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __MMDDK_H */




More information about the wine-cvs mailing list