Commit 14168ead authored by Max Kellermann's avatar Max Kellermann

Main: inline mpd_main() on Android

parent 58771fc4
...@@ -386,6 +386,9 @@ int main(int argc, char *argv[]) ...@@ -386,6 +386,9 @@ int main(int argc, char *argv[])
#endif #endif
#ifdef ANDROID
static inline
#endif
int mpd_main(int argc, char *argv[]) int mpd_main(int argc, char *argv[])
{ {
struct options options; struct options options;
......
...@@ -25,6 +25,8 @@ struct Instance; ...@@ -25,6 +25,8 @@ struct Instance;
extern Instance *instance; extern Instance *instance;
#ifndef ANDROID
/** /**
* A entry point for application. * A entry point for application.
* On non-Windows platforms this is called directly from main() * On non-Windows platforms this is called directly from main()
...@@ -33,6 +35,8 @@ extern Instance *instance; ...@@ -33,6 +35,8 @@ extern Instance *instance;
*/ */
int mpd_main(int argc, char *argv[]); int mpd_main(int argc, char *argv[]);
#endif
#ifdef WIN32 #ifdef WIN32
/** /**
......
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