André Hentschel nerv@dawncrow.de writes:
@@ -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__))
Are you planning to do this everywhere __GNUC__ is used? If so, this needs a better approach.
Am 08.07.2015 um 10:09 schrieb Alexandre Julliard:
André Hentschel nerv@dawncrow.de writes:
@@ -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__))
Are you planning to do this everywhere __GNUC__ is used? If so, this needs a better approach.
No, but i guess i'll give up on this until TCC got much better. PS: Thx for fixing up the ntdll patch :)