Fixed ndk-gdb not showing symbols in libapplication.so
This commit is contained in:
@@ -72,3 +72,34 @@ Index: src/fheroes2/network/localclient.cpp
|
||||
cursor.Show();
|
||||
display.Flip();
|
||||
|
||||
Index: src/fheroes2/network/network.cpp
|
||||
===================================================================
|
||||
--- src/fheroes2/network/network.cpp (revision 2750)
|
||||
+++ src/fheroes2/network/network.cpp (working copy)
|
||||
@@ -159,7 +159,9 @@
|
||||
Network::SetProtocolVersion(static_cast<u16>(MAJOR_VERSION << 8) | MINOR_VERSION);
|
||||
|
||||
if(SDL::Init(INIT_TIMER))
|
||||
+#ifndef ANDROID
|
||||
try
|
||||
+#endif
|
||||
{
|
||||
std::atexit(SDL::Quit);
|
||||
|
||||
@@ -177,6 +179,7 @@
|
||||
|
||||
return FH2Server::Main(NULL);
|
||||
}
|
||||
+#ifndef ANDROID
|
||||
catch(std::bad_alloc)
|
||||
{
|
||||
}
|
||||
@@ -184,7 +187,7 @@
|
||||
{
|
||||
VERBOSE(conf.String());
|
||||
}
|
||||
-
|
||||
+#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user