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

André Hentschel nerv at dawncrow.de
Sun Aug 16 14:01:59 CDT 2020


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 618b280881e..0e7dcc88d91 100644
--- a/libs/wine/port.c
+++ b/libs/wine/port.c
@@ -137,6 +137,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