about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedandroidshmem.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/wrapped/wrappedandroidshmem.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/wrapped/wrappedandroidshmem.c')
-rwxr-xr-xsrc/wrapped/wrappedandroidshmem.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/wrapped/wrappedandroidshmem.c b/src/wrapped/wrappedandroidshmem.c
new file mode 100755
index 00000000..ac4c874e
--- /dev/null
+++ b/src/wrapped/wrappedandroidshmem.c
@@ -0,0 +1,18 @@
+#define _GNU_SOURCE         /* See feature_test_macros(7) */

+#include <stdio.h>

+#include <stdlib.h>

+#include <string.h>

+#include <dlfcn.h>

+

+#include "wrappedlibs.h"

+

+#include "wrapper.h"

+#include "bridge.h"

+#include "librarian/library_private.h"

+#include "x64emu.h"

+

+const char* androidshmemName = "libandroid-shmem.so";

+#define LIBNAME androidshmem

+

+#include "wrappedlib_init.h"

+