emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/android 4247b2a723e: Fix year 2038 code for Android 4.4 and earl


From: Po Lu
Subject: feature/android 4247b2a723e: Fix year 2038 code for Android 4.4 and earlier
Date: Sun, 14 May 2023 23:31:55 -0400 (EDT)

branch: feature/android
commit 4247b2a723e5a3a04c4ea71ffc469cb4d9e094b1
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Fix year 2038 code for Android 4.4 and earlier
    
    * configure.ac: Also disable enable_year2038.
---
 configure.ac | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 65609ec8021..2a2d31bb72d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,9 +40,9 @@ if test "$XCONFIGURE" = "android"; then
   CFLAGS="$ANDROID_CFLAGS -Werror=implicit-function-declaration"
   # Don't explicitly enable support for large files unless Emacs is
   # being built for API 21 or later.  Otherwise, mmap does not work.
-  if test "$ANDROID_SDK" -lt "21"; then
+  AS_IF([test "$ANDROID_SDK" -lt "21"], [
     enable_largefile=no
-  fi
+    enable_year2038=no])
 fi
 
 dnl Set emacs_config_options to the options of 'configure', quoted for the 
shell,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]