From: André Hentschel Subject: libwine: Add support for tcc Message-Id: <559C1ECE.3010409@dawncrow.de> Date: Tue, 07 Jul 2015 20:47:42 +0200 --- 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