[PATCH 2/3] loader: use __asm__ keyword instead of asm

Yann Droneaud yann at droneaud.fr
Mon Oct 26 09:33:14 CDT 2009


---
 loader/main.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/loader/main.c b/loader/main.c
index 6de500e..628a0fa 100644
--- a/loader/main.c
+++ b/loader/main.c
@@ -40,8 +40,8 @@
 
 #ifdef __APPLE__
 
-asm(".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x40000000");
-asm(".zerofill WINE_SHAREDHEAP, WINE_SHAREDHEAP, ___wine_shared_heap, 0x03000000");
+__asm__(".zerofill WINE_DOS, WINE_DOS, ___wine_dos, 0x40000000");
+__asm__(".zerofill WINE_SHAREDHEAP, WINE_SHAREDHEAP, ___wine_shared_heap, 0x03000000");
 extern char __wine_dos[0x40000000], __wine_shared_heap[0x03000000];
 
 static const struct wine_preload_info wine_main_preload_info[] =
-- 
1.6.2.5




More information about the wine-patches mailing list