Use the weak attribute for iOS, too

Change-Id: I090da1c6c9e48ef12f2a168eddb1a2cb91a8f533
This commit is contained in:
Tor Lillqvist 2012-11-26 21:16:20 +02:00
parent 79d82c21fc
commit db7b486f88

View File

@ -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()