summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-11-15 18:08:51 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-15 18:16:50 +0200
commit93a23d1148381871c4ed15117c9e24cb3780b9f5 (patch)
tree47f9beafce1de427583960bdb5ae12299c3e8b19 /idl
parent09d381adbfba893331a07918c9ec9b3c58939dfb (diff)
No __weak__ in Win32
Change-Id: I3bd5e3787d0f47cfef667734211cdf8c0fd606a7
Diffstat (limited to 'idl')
-rw-r--r--idl/source/objects/types.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idl/source/objects/types.cxx b/idl/source/objects/types.cxx
index 642d303586da..5bdd292e9178 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -1416,7 +1416,7 @@ void SvMetaType::WriteSfxItem(
// write the implementation part
rOutStm << "#ifdef SFX_TYPEMAP" << endl
- << "#if defined(DISABLE_DYNLOADING) && (defined(ANDROID) || defined(IOS)) || defined(LIBO_MERGELIBS)" << endl
+ << "#if !defined(_WIN32) && ((defined(DISABLE_DYNLOADING) && (defined(ANDROID) || defined(IOS))) || defined(LIBO_MERGELIBS))" << endl
<< "__attribute__((__weak__))" << endl
<< "#endif" << endl
<< aTypeName.getStr() << aVarName.getStr()