aboutsummaryrefslogtreecommitdiff
path: root/libXaw/src/Vendor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libXaw/src/Vendor.c')
-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 12618e9cd..dd6a117c6 100644
--- a/libXaw/src/Vendor.c
+++ b/libXaw/src/Vendor.c
@@ -134,7 +134,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)
{