Main: inline mpd_main() on Android
This commit is contained in:
parent
58771fc41c
commit
14168eadb2
@ -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
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user