about summary refs log tree commit diff stats
path: root/src/wrapped32/wrappedlibc_private.h
diff options
context:
space:
mode:
authoralexvorxx <72611580+alexvorxx@users.noreply.github.com>2025-02-26 19:47:42 +0300
committerGitHub <noreply@github.com>2025-02-26 17:47:42 +0100
commit4120dc10bdf79bc4787ff14549ea02da3b7feb21 (patch)
tree6fed38313b4e2bfe4355b15af898ff2f0b7903f6 /src/wrapped32/wrappedlibc_private.h
parent48f51bd5fef5b9b6ea5ad086cfd44a07c5441d8a (diff)
downloadbox64-4120dc10bdf79bc4787ff14549ea02da3b7feb21.tar.gz
box64-4120dc10bdf79bc4787ff14549ea02da3b7feb21.zip
Fixed Box32 for Winlator Glibc (#2404)
* 1

* 2

* 3

* 4

* Fix

* 5

* 6

* 7

* 8

* revert 8

* 9
Diffstat (limited to 'src/wrapped32/wrappedlibc_private.h')
-rwxr-xr-xsrc/wrapped32/wrappedlibc_private.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/wrapped32/wrappedlibc_private.h b/src/wrapped32/wrappedlibc_private.h
index 55a5b50e..a6756e51 100755
--- a/src/wrapped32/wrappedlibc_private.h
+++ b/src/wrapped32/wrappedlibc_private.h
@@ -1554,9 +1554,14 @@ GOW(setvbuf, iESpiL)
 GO(setxattr, iEpppLi)
 // sgetspent
 // sgetspent_r  // Weak
+#ifdef WINLATOR_GLIBC
+GOW(shmat, pEipi)
+GOW(shmdt, iEp)
+#else
 GOWM(shmat, pEEipi)
-GOW(shmctl, iEiip)
 GOWM(shmdt, iEEp)
+#endif
+GOW(shmctl, iEiip)
 GOW(shmget, iEiLi)
 GOW(shutdown, iEii)
 GOWM(sigaction, iEEipp)    //%%