diff options
Diffstat (limited to 'gcc/ada/adaint.h')
-rw-r--r-- | gcc/ada/adaint.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ada/adaint.h b/gcc/ada/adaint.h index 6097e61f882..7956e27a709 100644 --- a/gcc/ada/adaint.h +++ b/gcc/ada/adaint.h @@ -250,7 +250,11 @@ extern char * __gnat_locate_executable_file (char *, char *); extern char * __gnat_locate_file_with_predicate (char *, char *, int (*)(char*)); -#if defined (linux) +#if defined (__ANDROID__) +#undef linux +extern void *__gnat_lwp_self (void); + +#elif defined (linux) extern void *__gnat_lwp_self (void); /* Routines for interface to required CPU set primitives */ |