From 95a2f9d9515acd0916d2d0f27d56ec8e1d3ac18e Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 14 Feb 2010 12:04:51 +0200 Subject: [PATCH] include: Make dmoreg.h C++ compatible. --- include/dmoreg.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/dmoreg.h b/include/dmoreg.h index 66966f9c31a..b1fedb8cf46 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__ */ -- 2.11.4.GIT