From b2d35c3620be73ca662e73fed49a280b405d1f1c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 1 Apr 2009 18:13:42 +0200 Subject: [PATCH] winecrt0: Disable the delay import destructor on Mac OS, it cannot be made to work. --- dlls/winecrt0/delay_load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winecrt0/delay_load.c b/dlls/winecrt0/delay_load.c index 5926770210e..ac257bafb01 100644 --- a/dlls/winecrt0/delay_load.c +++ b/dlls/winecrt0/delay_load.c @@ -52,7 +52,7 @@ FARPROC WINAPI DECLSPEC_HIDDEN __wine_spec_delay_load( unsigned int id ) return proc; } -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__APPLE__) /* we can't support destructors properly on Mac OS */ static void free_delay_imports(void) __attribute__((destructor)); static void free_delay_imports(void) {