Fixed winebuild operation in Darwin.
This commit is contained in:
parent
7110f82795
commit
4f9f7f131c
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue