diff options
author | Max Kellermann <max@duempel.org> | 2014-03-01 19:09:31 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-03-01 19:09:31 +0100 |
commit | 14168eadb2a24e03abb2528b951dc5f0faed5513 (patch) | |
tree | 5e0ee969acdda64dd77c3de7e5e8d8dec36c89fa | |
parent | 58771fc41c411769d3ab7248c7fab00e8dbbecef (diff) | |
download | mpd-14168eadb2a24e03abb2528b951dc5f0faed5513.tar.gz mpd-14168eadb2a24e03abb2528b951dc5f0faed5513.tar.xz mpd-14168eadb2a24e03abb2528b951dc5f0faed5513.zip |
Main: inline mpd_main() on Android
-rw-r--r-- | src/Main.cxx | 3 | ||||
-rw-r--r-- | src/Main.hxx | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index c8290e3ff..f54638170 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -386,6 +386,9 @@ int main(int argc, char *argv[]) #endif +#ifdef ANDROID +static inline +#endif int mpd_main(int argc, char *argv[]) { struct options options; diff --git a/src/Main.hxx b/src/Main.hxx index 831bbaf23..e2b1f5c31 100644 --- a/src/Main.hxx +++ b/src/Main.hxx @@ -25,6 +25,8 @@ struct Instance; extern Instance *instance; +#ifndef ANDROID + /** * A entry point for application. * On non-Windows platforms this is called directly from main() @@ -33,6 +35,8 @@ extern Instance *instance; */ int mpd_main(int argc, char *argv[]); +#endif + #ifdef WIN32 /** |