mirror of
https://github.com/ptitSeb/box86.git
synced 2025-05-08 21:08:57 +08:00
Added 3 more wrapped function, not exclusive to android after all
This commit is contained in:
parent
4b20581753
commit
c5bccdf300
@ -1283,6 +1283,7 @@ EXPORT int my_stat(char* path, void* buf)
|
||||
UnalignStat64(&st, buf);
|
||||
return r;
|
||||
}
|
||||
#endif
|
||||
|
||||
EXPORT int my_fstat(int fd, void* buf)
|
||||
{
|
||||
@ -1299,7 +1300,6 @@ EXPORT int my_lstat(char* path, void* buf)
|
||||
UnalignStat64(&st, buf);
|
||||
return r;
|
||||
}
|
||||
#endif
|
||||
|
||||
EXPORT int my___fxstat(x86emu_t *emu, int vers, int fd, void* buf)
|
||||
{
|
||||
|
@ -2292,17 +2292,14 @@ GO(dummy_safer_scalable_aligned_realloc, pFpLLp) // for mallochook.c
|
||||
|
||||
#ifdef ANDROID
|
||||
GOM(__libc_init, vFEpppp)
|
||||
GOM(stat, iFpp) //%noE
|
||||
GOM(lstat, iFpp) //%noE
|
||||
GOM(fstat, iFip) //%noE
|
||||
GO(__errno, pFv)
|
||||
#include "wrappedlibpthread_private.h"
|
||||
#include "wrappedlibrt_private.h"
|
||||
#else
|
||||
// Those symbols don't exist in non-Android builds
|
||||
//GOM(__libc_init,
|
||||
//GOM(stat,
|
||||
//GOM(lstat,
|
||||
//GOM(fstat,
|
||||
//GO(__errno,
|
||||
#endif
|
||||
GOM(stat, iFpp) //%noE
|
||||
GOM(lstat, iFpp) //%noE
|
||||
GOM(fstat, iFip) //%noE
|
||||
|
Loading…
x
Reference in New Issue
Block a user