diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-12 13:43:00 -0500 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-12 13:43:00 -0500 |
| commit | a66bb7453b335975ae0f55a96e3f9665139d8024 (patch) | |
| tree | 55d579ac559eb10542e20e514fc7660d461d8df6 /src/include | |
| parent | 5406a040fbf51bec372612a147aea1f80acf97be (diff) | |
| download | box64-a66bb7453b335975ae0f55a96e3f9665139d8024.tar.gz box64-a66bb7453b335975ae0f55a96e3f9665139d8024.zip | |
Use box86 to launch x86 binary (if box86 is present in same folder as box64)
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/box64context.h | 1 | ||||
| -rwxr-xr-x | src/include/fileutils.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h index 0f99d1fe..1fe43d84 100755 --- a/src/include/box64context.h +++ b/src/include/box64context.h @@ -82,6 +82,7 @@ typedef struct box64context_s { char* fullpath; char* box64path; // path of current box64 executable + char* box86path; // path of box86 executable (if present) uint64_t stacksz; size_t stackalign; diff --git a/src/include/fileutils.h b/src/include/fileutils.h index 546ec9d9..8332681e 100755 --- a/src/include/fileutils.h +++ b/src/include/fileutils.h @@ -14,6 +14,7 @@ int FileExist(const char* filename, int flags); char* ResolveFile(const char* filename, path_collection_t* paths); // 1: if file is an x86 elf, 0: if not (or not found) +int FileIsX86ELF(const char* filename); int FileIsX64ELF(const char* filename); #if defined(RPI) || defined(RK3399) || defined(RK3326) |