Fix winebuild in Darwin
Phil Krylov
phil at newstar.rinet.ru
Thu Jun 30 05:56:28 CDT 2005
ChangeLog:
Fixed winebuild operation in Darwin.
Patch:
Index: tools/winebuild/utils.c
===================================================================
RCS file: /home/wine/wine/tools/winebuild/utils.c,v
retrieving revision 1.27
diff -p -u -r1.27 utils.c
--- tools/winebuild/utils.c 29 Jun 2005 20:18:58 -0000 1.27
+++ tools/winebuild/utils.c 30 Jun 2005 00:33:38 -0000
@@ -408,7 +408,7 @@ const char *func_declaration( const char
sprintf( buffer, ".def _%s; .scl 2; .type 32; .endef", func );
break;
case PLATFORM_APPLE:
- sprintf( buffer, ".type _%s, at function", func );
+ sprintf( buffer, "" );
break;
case PLATFORM_SVR4:
sprintf( buffer, ".type %s,2", func );
@@ -440,6 +440,7 @@ const char *get_asm_string_keyword(void)
{
switch (target_platform)
{
+ case PLATFORM_APPLE:
case PLATFORM_SVR4: return ".asciz";
default: return ".string";
}
More information about the wine-patches
mailing list