libwine: Add support for tcc

André Hentschel nerv at dawncrow.de
Tue Jul 7 13:47:42 CDT 2015


---
 libs/wine/port.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/wine/port.c b/libs/wine/port.c
index a532b2d..25b6d50 100644
--- a/libs/wine/port.c
+++ b/libs/wine/port.c
@@ -67,7 +67,7 @@ void DECLSPEC_NORETURN wine_switch_to_stack( void (*func)(void *), void *arg, vo
  * Switch to the specified stack to call the function and return.
  */
 
-#if defined(__i386__) && defined(__GNUC__)
+#if defined(__i386__) && (defined(__GNUC__) || defined(__TINYC__))
 __ASM_GLOBAL_FUNC( wine_call_on_stack,
                    "pushl %ebp\n\t"
                    __ASM_CFI(".cfi_adjust_cfa_offset 4\n\t")
-- 
1.9.1




More information about the wine-patches mailing list