diff options
| author | Po Lu | 2023-01-26 15:37:04 +0800 |
|---|---|---|
| committer | Po Lu | 2023-01-26 15:37:04 +0800 |
| commit | 4255d7f0514c5fa1badded6b0bc445ec2d2764c0 (patch) | |
| tree | 93efa03d4ba0c1987eab16645f9ebcc405ab9e19 /src/android.h | |
| parent | 8125e26a323cb8906a14005519b0fa5693718c90 (diff) | |
| download | emacs-4255d7f0514c5fa1badded6b0bc445ec2d2764c0.tar.gz emacs-4255d7f0514c5fa1badded6b0bc445ec2d2764c0.zip | |
Update Android port
* .gitignore: Ignore lib/math.h.
* INSTALL.android: Update accordingly.
* build-aux/ndk-build-helper-1.mk:
* build-aux/ndk-build-helper-2.mk:
* build-aux/ndk-build-helper.mk:
* build-aux/ndk-module-extract.awk: Handle C++ modules.
* configure.ac: Enable libxml2 on Android.
* cross/ndk-build/Makefile.in:
* cross/ndk-build/ndk-build-shared-library.mk:
* cross/ndk-build/ndk-build-static-library.mk:
* cross/ndk-build/ndk-build.mk.in:
* cross/ndk-build/ndk-resolve.mk: Fix dependency resolution of
includes.
* java/org/gnu/emacs/EmacsView.java (popupMenu): Fix minimum SDK
version for actual popup menus.
* lib/math.h: Delete file.
* m4/ndk-build.m4 (ndk_SEARCH_MODULE, ndk_CHECK_MODULES): Look
for nasm and C++ libraries.
* src/android.c (faccessat): Rename to `android_faccessat'.
* src/android.h: Update prototypes.
* src/dired.c (file_name_completion_dirp):
* src/fileio.c (file_access_p, Faccess_file, file_directory_p):
* src/lisp.h:
* src/lread.c (openp):
* src/process.c (allocate_pty): Use sys_faccessat.
* src/sysdep.c (sys_faccessat): New function.
Diffstat (limited to 'src/android.h')
| -rw-r--r-- | src/android.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/android.h b/src/android.h index 6c20995e4a1..33fad512d4a 100644 --- a/src/android.h +++ b/src/android.h | |||
| @@ -52,6 +52,7 @@ extern char *android_user_full_name (struct passwd *); | |||
| 52 | extern int android_fstat (int, struct stat *); | 52 | extern int android_fstat (int, struct stat *); |
| 53 | extern int android_fstatat (int, const char *restrict, | 53 | extern int android_fstatat (int, const char *restrict, |
| 54 | struct stat *restrict, int); | 54 | struct stat *restrict, int); |
| 55 | extern int android_faccessat (int, const char *, int, int); | ||
| 55 | extern int android_close (int); | 56 | extern int android_close (int); |
| 56 | extern int android_fclose (FILE *); | 57 | extern int android_fclose (FILE *); |
| 57 | extern const char *android_get_home_directory (void); | 58 | extern const char *android_get_home_directory (void); |