diff --git a/src/jrd/os/win32/mod_loader.cpp b/src/jrd/os/win32/mod_loader.cpp index 8969dd5b18..d15e0ca228 100644 --- a/src/jrd/os/win32/mod_loader.cpp +++ b/src/jrd/os/win32/mod_loader.cpp @@ -72,7 +72,9 @@ public: hActCtx = INVALID_HANDLE_VALUE; // if we don't use MSVC then we don't use MS CRT ? -#ifndef _MSC_VER +// NS: versions of MSVC before 2005 and, as preliminary reports suggest, +// after 2008 do not need this hack +#if !defined(_MSC_VER) || (_MSC_VER <= 1400) return; #else