Use the weak attribute for iOS, too
Change-Id: I090da1c6c9e48ef12f2a168eddb1a2cb91a8f533
This commit is contained in:
@@ -1410,7 +1410,7 @@ void SvMetaType::WriteSfxItem(
|
|||||||
|
|
||||||
// write the implementation part
|
// write the implementation part
|
||||||
rOutStm << "#ifdef SFX_TYPEMAP" << endl
|
rOutStm << "#ifdef SFX_TYPEMAP" << endl
|
||||||
<< "#if defined(DISABLE_DYNLOADING) && defined(ANDROID)" << endl
|
<< "#if defined(DISABLE_DYNLOADING) && (defined(ANDROID) || defined(IOS))" << endl
|
||||||
<< "__attribute__((__weak__))" << endl
|
<< "__attribute__((__weak__))" << endl
|
||||||
<< "#endif" << endl
|
<< "#endif" << endl
|
||||||
<< aTypeName.getStr() << aVarName.getStr()
|
<< aTypeName.getStr() << aVarName.getStr()
|
||||||
|
Reference in New Issue
Block a user