From f65bb4ba7ada143f8deea43eb88eeb795b02418e Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 25 Nov 2005 22:55:30 +0000 Subject: [PATCH] Sync to Wine-0_9_2: Alexandre Julliard - Preserve 16-byte stack alignment in the various assembly functions. Needed for MacOSX. svn path=/trunk/; revision=19581 --- reactos/tools/winebuild/import.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/tools/winebuild/import.c b/reactos/tools/winebuild/import.c index 33df99655fe..6f8bd28840f 100644 --- a/reactos/tools/winebuild/import.c +++ b/reactos/tools/winebuild/import.c @@ -1190,6 +1190,7 @@ void output_stubs( FILE *outfile, DLLSPEC *spec ) fprintf( outfile, "\t.align %d\n", get_alignment(4) ); fprintf( outfile, "\t%s\n", func_declaration(name) ); fprintf( outfile, "%s:\n", asm_name(name) ); + fprintf( outfile, "\tsubl $4,%%esp\n" ); if (UsePIC) { -- 2.17.1