aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{