From: Po Lu Date: Mon, 1 May 2023 13:28:40 +0000 (+0800) Subject: ; * src/term.c (syms_of_term): Pretend Android uses TERMINFO. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a909927995738cf1103198f8086a42bf28a1d50;p=emacs.git ; * src/term.c (syms_of_term): Pretend Android uses TERMINFO. --- diff --git a/src/term.c b/src/term.c index 2fa06d71f03..3b5619ff93e 100644 --- a/src/term.c +++ b/src/term.c @@ -4660,7 +4660,7 @@ syms_of_term (void) DEFVAR_BOOL ("system-uses-terminfo", system_uses_terminfo, doc: /* Non-nil means the system uses terminfo rather than termcap. This variable can be used by terminal emulator packages. */); -#ifdef TERMINFO +#if defined TERMINFO || (defined HAVE_ANDROID && !defined ANDROID_STUBIFY) system_uses_terminfo = 1; #else system_uses_terminfo = 0;