ttyname in gpgme when running Android
Hans-Christoph Steiner
hans at guardianproject.info
Wed Oct 24 15:42:56 CEST 2012
On 10/24/2012 09:32 AM, Werner Koch wrote:
> On Wed, 24 Oct 2012 02:43, hans at guardianproject.info said:
>
>> I think I figured out m4 enough to get something working, and it might even be
>> an acceptable patch. I attached it in "git format-patch" style.
>
> Do you remember how we fixed this for GnuPG. AFAICS, we only disable
> the regression tests. In GnuPG we also define HAVE_ANDROID_SYSTEM but
> it is not used.
>
> Let me define such a HAVE_ANDROID_SYSTEM macro and use it similar to
> your patch. Okay?
Sure, that should work fine for the autoconf stuff, but in ttyname.c, it'll
need to either have that __ANDROID__ macro, or a macro like FAKE_TTYNAME which
is defined for both Win32 and Android.
.hc
More information about the Gnupg-devel
mailing list