Kaydet (Commit) b869b739 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Tor Lillqvist

Avoid duplicate symbols when DISABLE_DYNLOADING for Android

Change-Id: Iecd0ed802f6cc715ac77256bb4b49082b5976b4f
üst 4b326ea3
......@@ -1410,6 +1410,9 @@ void SvMetaType::WriteSfxItem(
// write the implementation part
rOutStm << "#ifdef SFX_TYPEMAP" << endl
<< "#if defined(DISABLE_DYNLOADING) && defined(ANDROID)" << endl
<< "__attribute__((__weak__))" << endl
<< "#endif" << endl
<< aTypeName.getStr() << aVarName.getStr()
<< " = " << endl;
rOutStm << '{' << endl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment