about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-11-09 17:55:31 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-11-09 17:55:31 +0100
commit63a80ff6965190dee6eb486bb14dac24d5b5a8ce (patch)
tree6b97aa4c3a34ac64b09e062fc1aaa105f4544652 /src/wrapped
parentee6e3a7a96ad7ee9aa3ffee3d0b3c2e4d9406f38 (diff)
downloadbox64-63a80ff6965190dee6eb486bb14dac24d5b5a8ce.tar.gz
box64-63a80ff6965190dee6eb486bb14dac24d5b5a8ce.zip
This should fix LA64 Static build
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/wrappedlibc_private.h8
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,