Ozkan Sezer : include: Make dmoreg.h C++ compatible.

Alexandre Julliard julliard at winehq.org
Mon Feb 15 10:06:13 CST 2010


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

Author: Ozkan Sezer <sezeroz at gmail.com>
Date:   Sun Feb 14 12:04:51 2010 +0200

include: Make dmoreg.h C++ compatible.

---

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

diff --git a/include/dmoreg.h b/include/dmoreg.h
index 66966f9..b1fedb8 100644
--- a/include/dmoreg.h
+++ b/include/dmoreg.h
@@ -21,6 +21,10 @@
 
 #include "mediaobj.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct _DMO_PARTIAL_MEDIATYPE
 {
    GUID type;
@@ -67,4 +71,8 @@ DEFINE_GUID(DMOCATEGORY_AUDIO_NOISE_SUPPRESS,
 DEFINE_GUID(DMOCATEGORY_AGC,
             0xe88c9ba0,0xc557,0x11d0,0x8a,0x2b,0x00,0xa0,0xc9,0x25,0x5a,0xc1);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* __DMOREG_H__ */




More information about the wine-cvs mailing list