loader: The preloader is not supported on Android, don't try to use it.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2016-07-21 12:29:08 +09:00
parent a615647435
commit c2d7bda87f
1 changed files with 8 additions and 1 deletions

View File

@ -109,7 +109,14 @@ static void check_command_line( int argc, char *argv[] )
} }
#if defined(__linux__) && (defined(__i386__) || defined(__arm__)) #ifdef __ANDROID__
static int pre_exec(void)
{
return 0; /* no exec needed */
}
#elif defined(__linux__) && (defined(__i386__) || defined(__arm__))
#ifdef __i386__ #ifdef __i386__
/* separate thread to check for NPTL and TLS features */ /* separate thread to check for NPTL and TLS features */