about summary refs log tree commit diff stats
path: root/src/tools/rcfile.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-09-02 16:35:07 +0200
committerGitHub <noreply@github.com>2023-09-02 16:35:07 +0200
commit25a064f3a8da90626b8c33fc01bb1e1bd0b4c4c8 (patch)
treedc564c30b2155310cf82c7bd6a4664255fea4a6c /src/tools/rcfile.c
parenteb1e607b935a1c90c0c9cf0b352d95423e42740d (diff)
parent8a25b91ad23b8ef0c1154f43f95459209d372463 (diff)
downloadbox64-25a064f3a8da90626b8c33fc01bb1e1bd0b4c4c8.tar.gz
box64-25a064f3a8da90626b8c33fc01bb1e1bd0b4c4c8.zip
Merge pull request #962 from ptitSeb/android
[ANDROID] Try to create an Android build, porting box86 Android build
Diffstat (limited to 'src/tools/rcfile.c')
-rw-r--r--src/tools/rcfile.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rcfile.c b/src/tools/rcfile.c
index e41980c0..8db7b0a6 100644
--- a/src/tools/rcfile.c
+++ b/src/tools/rcfile.c
@@ -277,6 +277,15 @@ static void trimString(char* s)
         memmove(s, s+1, strlen(s));
 }
 
+#ifdef ANDROID
+static int shm_open(const char *name, int oflag, mode_t mode) {
+    return -1;
+}
+static int shm_unlink(const char *name) {
+    return -1;
+}
+#endif
+
 void LoadRCFile(const char* filename)
 {
     FILE *f = NULL;