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[])
#endif
#ifdef ANDROID
static inline
#endif
int mpd_main(int argc, char *argv[])
{
struct options options;
......
......@@ -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
/**
......
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