mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-11 13:15:32 -04:00
Fix Android patches
This commit is contained in:
parent
3c2f8fe40e
commit
30ea6597d0
@ -336,8 +336,8 @@ index 3c9d1055f..e4260da69 100644
|
||||
|
||||
################################################################################
|
||||
|
||||
-ifeq ($(call isTargetOs, linux macosx), true)
|
||||
+ifeq ($(call isTargetOs, linux macosx android), true)
|
||||
-ifeq ($(call isTargetOs, linux macosx windows), true)
|
||||
+ifeq ($(call isTargetOs, linux macosx windows android), true)
|
||||
|
||||
$(eval $(call SetupJdkLibrary, BUILD_LIBEXTNET, \
|
||||
NAME := extnet, \
|
||||
@ -2310,7 +2310,7 @@ index 9df8be1e6..12f9b4de3 100644
|
||||
typedef int futimens_func(int, const struct timespec *);
|
||||
typedef int lutimes_func(const char *, const struct timeval *);
|
||||
typedef DIR* fdopendir_func(int);
|
||||
@@ -149,10 +150,46 @@ static fstatat64_func* my_fstatat64_func = NULL;
|
||||
@@ -149,13 +150,48 @@ static fstatat64_func* my_fstatat64_func = NULL;
|
||||
static unlinkat_func* my_unlinkat_func = NULL;
|
||||
static renameat_func* my_renameat_func = NULL;
|
||||
static futimesat_func* my_futimesat_func = NULL;
|
||||
@ -2318,7 +2318,9 @@ index 9df8be1e6..12f9b4de3 100644
|
||||
static futimens_func* my_futimens_func = NULL;
|
||||
static lutimes_func* my_lutimes_func = NULL;
|
||||
static fdopendir_func* my_fdopendir_func = NULL;
|
||||
|
||||
#if defined(__linux__)
|
||||
static statx_func* my_statx_func = NULL;
|
||||
#endif
|
||||
+#ifdef __ANDROID__
|
||||
+/*
|
||||
+ * TODO: Android lacks support for the methods listed below. In it's place are
|
||||
@ -2353,7 +2355,7 @@ index 9df8be1e6..12f9b4de3 100644
|
||||
+
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
|
||||
/**
|
||||
* fstatat missing from glibc on Linux.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user