diff options
author | Colin Harrison <colin.harrison-at-virgin.net> | 2008-04-23 13:56:28 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2008-04-23 13:56:28 +0100 |
commit | 8e95cb765e88d36c35f868f650c86c62c31ad635 (patch) | |
tree | 4333a4b55ec2483452536a6478cb3f043f88bdfd /src/Vendor.c | |
parent | 4b64b821a48fe493056271216dbe29d43376954b (diff) |
Add __MINGW32__
Diffstat (limited to 'src/Vendor.c')
-rw-r--r-- | src/Vendor.c | 4 |
1 files 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) { |