Fixed ndk-gdb not showing symbols in libapplication.so

This commit is contained in:
pelya
2012-02-28 17:55:25 +02:00
parent 996291e118
commit 2185044162
7 changed files with 93 additions and 33 deletions

View File

@@ -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;
}