Added 3 more wrapped function, not exclusive to android after all

This commit is contained in:
ptitSeb 2024-07-17 18:22:35 +02:00
parent 4b20581753
commit c5bccdf300
2 changed files with 4 additions and 7 deletions

View File

@ -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)
{

View File

@ -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