From b13722cd2fad3950304d9e062bb63a2e43e7e131 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 10 Dec 2010 14:26:29 +0100 Subject: [PATCH] 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(+) diff --git a/include/gameux.idl b/include/gameux.idl index b058593f5a0..31be9ca29c5 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 3d5946aedd2..45cef98825f 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 fe70c068285..1989cd40bd6 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),