From 8e95cb765e88d36c35f868f650c86c62c31ad635 Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Wed, 23 Apr 2008 13:56:28 +0100 Subject: Add __MINGW32__ --- src/Vendor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Vendor.c b/src/Vendor.c index 42c289c..2d30901 100644 --- a/src/Vendor.c +++ b/src/Vendor.c @@ -67,7 +67,7 @@ SOFTWARE. * ***************************************************************************/ -#if defined(__UNIXOS2__) || defined(__CYGWIN__) +#if defined(__UNIXOS2__) || defined(__CYGWIN__) || defined(__MINGW32__) /* to fix the EditRes problem because of wrong linker semantics */ extern WidgetClass vendorShellWidgetClass; @@ -87,7 +87,7 @@ unsigned long _DLL_InitTerm(unsigned long mod,unsigned long flag) } #endif -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__MINGW32__) int __stdcall DllMain(unsigned long mod_handle, unsigned long flag, void *routine) { -- cgit v1.2.3