Skip to content
Snippets Groups Projects
Commit 4f9f7f13 authored by Phil Krylov's avatar Phil Krylov Committed by Alexandre Julliard
Browse files

Fixed winebuild operation in Darwin.

parent 7110f827
No related branches found
No related tags found
No related merge requests found
......@@ -404,12 +404,11 @@ const char *func_declaration( const char *func )
switch (target_platform)
{
case PLATFORM_APPLE:
return "";
case PLATFORM_WINDOWS:
sprintf( buffer, ".def _%s; .scl 2; .type 32; .endef", func );
break;
case PLATFORM_APPLE:
sprintf( buffer, ".type _%s,@function", func );
break;
case PLATFORM_SVR4:
sprintf( buffer, ".type %s,2", func );
break;
......@@ -440,8 +439,11 @@ const char *get_asm_string_keyword(void)
{
switch (target_platform)
{
case PLATFORM_SVR4: return ".asciz";
default: return ".string";
case PLATFORM_APPLE:
case PLATFORM_SVR4:
return ".asciz";
default:
return ".string";
}
}
......
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