diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-11-09 17:55:31 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-11-09 17:55:31 +0100 |
| commit | 63a80ff6965190dee6eb486bb14dac24d5b5a8ce (patch) | |
| tree | 6b97aa4c3a34ac64b09e062fc1aaa105f4544652 | |
| parent | ee6e3a7a96ad7ee9aa3ffee3d0b3c2e4d9406f38 (diff) | |
| download | box64-63a80ff6965190dee6eb486bb14dac24d5b5a8ce.tar.gz box64-63a80ff6965190dee6eb486bb14dac24d5b5a8ce.zip | |
This should fix LA64 Static build
| -rw-r--r-- | src/wrapped/wrappedlibc_private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibc_private.h b/src/wrapped/wrappedlibc_private.h index 9f63a9b4..84325a5e 100644 --- a/src/wrapped/wrappedlibc_private.h +++ b/src/wrapped/wrappedlibc_private.h @@ -590,7 +590,11 @@ GO(gethostent, pFv) GO(gethostent_r, iFppLpp) GO(gethostid, lFv) GOW(gethostname, iFpL) +#ifdef STATICBUILD +//GO(__gethostname_chk, iFpLL) // it's sometimes not defined, like in LA64 plateform, so lets no wrap it for now +#else GO(__gethostname_chk, iFpLL) +#endif GOW(getifaddrs, iFp) GO(getipv4sourcefilter, iFiuuppp) GOW(getitimer, iFup) @@ -2405,7 +2409,11 @@ GOW(wcstoll, IFppi) //GOW(__wcstoll_l, GOW(wcstoll_l, IFppip) GO(wcstombs, LFppL) +#ifdef STATICBUILD +//GO(__wcstombs_chk, LFppLL) // it's sometimes not defined, like in LA64 plateform, so lets no wrap it for now +#else GO(__wcstombs_chk, LFppLL) +#endif GOW(wcstoq, IFppi) GO(wcstoul, LFppi) //GO(__wcstoul_internal, |