aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-01-18 22:19:33 +0000
committermarha <marha@users.sourceforge.net>2011-01-18 22:19:33 +0000
commit6dfc0b3199b004ee5928da0bdbc7760476b95ebd (patch)
tree28c3b696259173887afe7dba324f562a284c37af
parent9f1e5316f34fad3e7d0d1af2f2f3102359cef488 (diff)
downloadvcxsrv-6dfc0b3199b004ee5928da0bdbc7760476b95ebd.tar.gz
vcxsrv-6dfc0b3199b004ee5928da0bdbc7760476b95ebd.tar.bz2
vcxsrv-6dfc0b3199b004ee5928da0bdbc7760476b95ebd.zip
Do not include dllmain for static library
-rw-r--r--libXaw/src/Vendor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXaw/src/Vendor.c b/libXaw/src/Vendor.c
index b9ffcf6ad..03199b59f 100644
--- a/libXaw/src/Vendor.c
+++ b/libXaw/src/Vendor.c
@@ -137,7 +137,7 @@ unsigned long _DLL_InitTerm(unsigned long mod,unsigned long flag)
}
#endif
-#if defined(__CYGWIN__) || defined(__MINGW32__)
+#if defined(__CYGWIN__) || defined(__MINGW32__) && !defined(_MSC_VER)
int __stdcall
DllMain(unsigned long mod_handle, unsigned long flag, void *routine)
{