From 2264b0c556fb346181a462fe674b6611a6285d46 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Thu, 30 Aug 2007 16:16:07 +0200 Subject: [PATCH] winmm: Make mmddk.h C++ compatible. --- include/mmddk.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/mmddk.h b/include/mmddk.h index 75840a08d22..092a5f724fe 100644 --- a/include/mmddk.h +++ b/include/mmddk.h @@ -26,6 +26,10 @@ #include #include +#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 +#ifdef __cplusplus +} +#endif + #endif /* __MMDDK_H */