[PATCH 22/23] libport: Add wine_call_on_stack_obsolete fallback for other architectures

André Hentschel nerv at dawncrow.de
Sun Jan 31 11:34:32 CST 2021


Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
 libs/wine/port.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/libs/wine/port.c b/libs/wine/port.c
index 8e56ada52aa..407596e0e81 100644
--- a/libs/wine/port.c
+++ b/libs/wine/port.c
@@ -127,6 +127,11 @@ __ASM_GLOBAL_FUNC( wine_call_on_stack_obsolete,
                    "ldr x19, [sp,#16]\n\t"           /* restore register from stack */
                    "ldp x29, x30, [sp],#32\n\t"      /* restore return address */
                    "ret")                            /* return */
+#else
+int wine_call_on_stack_obsolete( int (*func)(void *), void *arg, void *stack )
+{
+    return 0;
+}
 #endif
 
 /***********************************************************************
-- 
2.25.1




More information about the wine-devel mailing list