diff options
Diffstat (limited to 'src/wrapped')
| -rwxr-xr-x | src/wrapped/wrappedlibc.c | 4 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibc_private.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/wrapped/wrappedlibc.c b/src/wrapped/wrappedlibc.c index 56b04f3b..e7ac5156 100755 --- a/src/wrapped/wrappedlibc.c +++ b/src/wrapped/wrappedlibc.c @@ -429,7 +429,7 @@ int my_swapcontext(x64emu_t* emu, void* ucp1, void* ucp2); // this one is defined in elfloader.c int my_dl_iterate_phdr(x64emu_t *emu, void* F, void *data); - +#endif pid_t EXPORT my_fork(x64emu_t* emu) { // execute atforks prepare functions, in reverse order @@ -469,7 +469,7 @@ pid_t EXPORT my_vfork(x64emu_t* emu) return 0; #endif } -#endif + int EXPORT my_uname(struct utsname *buf) { //TODO: check sizeof(struct utsname) diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index aa5a9434..72f3a4a8 100755 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -370,7 +370,7 @@ GOM(__cxa_finalize, vFEp) //GOW(fopen64, //GO(fopencookie, //GO(__fork, -//GOW(fork, +GOM(fork, iFEv) // Weak //GO(__fortify_fail, //GOW(fpathconf, //GO(__fpending, |