mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01:00
Add replacement hack for Android's broken ttyname.
* configure.ac (HAVE_TTYNAME) [__ANDROID__]: Add hack.
This commit is contained in:
parent
7981cdd134
commit
115a6ed55d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user