diff options
-rw-r--r-- | configure.ac | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index f008d23e7..47c6d1202 100644 --- a/configure.ac +++ b/configure.ac @@ -490,6 +490,13 @@ AH_BOTTOM([ # endif #endif +/* Hacks required for Android. */ +#ifdef __ANDROID__ + /* ttyname is a stub in BIONIC, printing a FIXME warning. */ +# define ttyname broken_native_ttyname +# undef HAVE_TTYNAME +#endif /*__ANDROID__*/ + /* Tell libgcrypt not to use its own libgpg-error implementation. */ #define USE_LIBGPG_ERROR 1 |