Commit 4f9f7f13 authored by Phil Krylov's avatar Phil Krylov Committed by Alexandre Julliard

Fixed winebuild operation in Darwin.

parent 7110f827
......@@ -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";
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment