From 552b06a0a43f07fd373e2bf6d32782d9cb8c78f8 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Mon, 14 Jun 2004 17:00:38 +0000 Subject: [PATCH] Don't use .previous instruction on Darwin. --- include/wine/port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wine/port.h b/include/wine/port.h index aea28f15b37..b4b1a26c440 100644 --- a/include/wine/port.h +++ b/include/wine/port.h @@ -188,7 +188,7 @@ struct statvfs /* Macros to define assembler functions somewhat portably */ -#if defined(__GNUC__) && !defined(__MINGW32__) +#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__APPLE__) # define __ASM_GLOBAL_FUNC(name,code) \ __asm__( ".text\n\t" \ ".align 4\n\t" \ @@ -197,7 +197,7 @@ struct statvfs __ASM_NAME(#name) ":\n\t" \ code \ "\n\t.previous" ); -#else /* defined(__GNUC__) && !defined(__MINGW32__) */ +#else /* defined(__GNUC__) && !defined(__MINGW32__) && !defined(__APPLE__) */ # define __ASM_GLOBAL_FUNC(name,code) \ void __asm_dummy_##name(void) { \ asm( ".align 4\n\t" \