Alexandre Julliard : include: Disable widl-specific coclass attributes when not building with widl.

Alexandre Julliard julliard at winehq.org
Fri Dec 10 11:57:00 CST 2010


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Dec 10 14:26:29 2010 +0100

include: Disable widl-specific coclass attributes when not building with widl.

---

 include/gameux.idl |    6 ++++++
 include/msxml6.idl |    6 ++++++
 include/wuapi.idl  |    6 ++++++
 3 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/include/gameux.idl b/include/gameux.idl
index b058593..31be9ca 100644
--- a/include/gameux.idl
+++ b/include/gameux.idl
@@ -23,6 +23,12 @@ import "oaidl.idl";
 import "ocidl.idl";
 import "shobjidl.idl";
 
+#ifndef __WIDL__
+#define threading(model)
+#define progid(str)
+#define vi_progid(str)
+#endif
+
 [
   uuid(4F48A59C-942D-4F3C-83C9-4EFFE84E4959),
   version(1.0),
diff --git a/include/msxml6.idl b/include/msxml6.idl
index 3d5946a..45cef98 100644
--- a/include/msxml6.idl
+++ b/include/msxml6.idl
@@ -25,6 +25,12 @@ import "unknwn.idl";
 import "objidl.idl";
 import "oaidl.idl";
 
+#ifndef __WIDL__
+#define threading(model)
+#define progid(str)
+#define vi_progid(str)
+#endif
+
 [
     uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
     version(6.0),
diff --git a/include/wuapi.idl b/include/wuapi.idl
index fe70c06..1989cd4 100644
--- a/include/wuapi.idl
+++ b/include/wuapi.idl
@@ -18,6 +18,12 @@
 
 import "oaidl.idl";
 
+#ifndef __WIDL__
+#define threading(model)
+#define progid(str)
+#define vi_progid(str)
+#endif
+
 [
     helpstring("WUAPI 2.0 Type Library"),
     uuid(b596cc9f-56e5-419e-a622-e01bb457431e),




More information about the wine-cvs mailing list