summaryrefslogtreecommitdiff
path: root/idl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-26 21:16:20 +0200
committerTor Lillqvist <tml@iki.fi>2012-11-26 21:40:28 +0200
commitdb7b486f8818ce99711f281216efb49e52c5d0b5 (patch)
tree810000f7f08397e4ff3d85c996c63461a807574f /idl
parent79d82c21fcc6bde1d75f23870488f85a15e207c6 (diff)
Use the weak attribute for iOS, too
Change-Id: I090da1c6c9e48ef12f2a168eddb1a2cb91a8f533
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 e6cc6295832b..2ce42b7c4d47 100644
--- a/idl/source/objects/types.cxx
+++ b/idl/source/objects/types.cxx
@@ -1410,7 +1410,7 @@ void SvMetaType::WriteSfxItem(
// write the implementation part
rOutStm << "#ifdef SFX_TYPEMAP" << endl
- << "#if defined(DISABLE_DYNLOADING) && defined(ANDROID)" << endl
+ << "#if defined(DISABLE_DYNLOADING) && (defined(ANDROID) || defined(IOS))" << endl
<< "__attribute__((__weak__))" << endl
<< "#endif" << endl
<< aTypeName.getStr() << aVarName.getStr()