From 6dfc0b3199b004ee5928da0bdbc7760476b95ebd Mon Sep 17 00:00:00 2001
From: marha <marha@users.sourceforge.net>
Date: Tue, 18 Jan 2011 22:19:33 +0000
Subject: Do not include dllmain for static library

---
 libXaw/src/Vendor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'libXaw')

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)
 {
-- 
cgit v1.2.3