Sync to Wine-0_9_2:
authorGé van Geldorp <ge@gse.nl>
Fri, 25 Nov 2005 22:55:30 +0000 (22:55 +0000)
committerGé van Geldorp <ge@gse.nl>
Fri, 25 Nov 2005 22:55:30 +0000 (22:55 +0000)
Alexandre Julliard <julliard@winehq.org>
- Preserve 16-byte stack alignment in the various assembly
  functions. Needed for MacOSX.

svn path=/trunk/; revision=19581

reactos/tools/winebuild/import.c

index 33df996..6f8bd28 100644 (file)
@@ -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)
         {