summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-11-08 16:08:23 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-11-08 16:08:23 +0300
commitc836061c4bce5fac2c3c349ace3bddb99f081c9e (patch)
tree08a047e4a37af8ab581aa21439584ad2e9cb9566 /build
parent71cf924920e49642bb7944bc4fd969d85f469eb5 (diff)
fix for the possible crash with static variables
Diffstat (limited to 'build')
-rw-r--r--build/vc.common/common.props1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/vc.common/common.props b/build/vc.common/common.props
index 2c99a51731..f94ff23236 100644
--- a/build/vc.common/common.props
+++ b/build/vc.common/common.props
@@ -30,6 +30,7 @@
<PrecompiledHeader>Use</PrecompiledHeader>
<PrecompiledHeaderFile>stdafx.h</PrecompiledHeaderFile>
<ExceptionHandling>false</ExceptionHandling>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<AdditionalDependencies>winmm.lib;Wtsapi32.lib;netapi32.lib;pdh.lib;shlwapi.lib;Strmiids.lib;gdiplus.lib;dbghelp.lib;Setupapi.lib;msimg32.lib;comctl32.lib;ws2_32.lib;UxTheme.lib;Iphlpapi.lib;%(AdditionalDependencies)</AdditionalDependencies>