Skip to content
Snippets Groups Projects
Commit 6f6e4249 authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard
Browse files

winebuild: Make emitting mod_*_func sections on Mac OS respect the pointer size.

parent fd5a8a9d
No related branches found
No related tags found
No related merge requests found
......@@ -426,8 +426,8 @@ static void output_asm_constructor( const char *constructor )
{
/* Mach-O doesn't have an init section */
output( "\n\t.mod_init_func\n" );
output( "\t.align %d\n", get_alignment(4) );
output( "\t.long %s\n", asm_name(constructor) );
output( "\t.align %d\n", get_alignment(get_ptr_size()) );
output( "\t%s %s\n", get_asm_ptr_keyword(), asm_name(constructor) );
}
else
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment