Fixed winebuild operation in Darwin.

This commit is contained in:
Phil Krylov 2005-06-30 11:00:28 +00:00 committed by Alexandre Julliard
parent 7110f82795
commit 4f9f7f131c
1 changed files with 7 additions and 5 deletions

View File

@ -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";
}
}