[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH 22/23] libport: Add wine_call_on_stack_obsolete fallback for other architectures
From:       André Hentschel <nerv () dawncrow ! de>
Date:       2021-01-31 17:34:32
Message-ID: 20210131173433.114385-23-nerv () dawncrow ! de
[Download RAW message or body]

Signed-off-by: André Hentschel <nerv@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic