diff options
author | George Hazan <ghazan@miranda.im> | 2017-11-08 16:08:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-11-08 16:08:23 +0300 |
commit | c836061c4bce5fac2c3c349ace3bddb99f081c9e (patch) | |
tree | 08a047e4a37af8ab581aa21439584ad2e9cb9566 /protocols/EmLanProto | |
parent | 71cf924920e49642bb7944bc4fd969d85f469eb5 (diff) |
fix for the possible crash with static variables
Diffstat (limited to 'protocols/EmLanProto')
-rw-r--r-- | protocols/EmLanProto/amdproto_15.vcxproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/EmLanProto/amdproto_15.vcxproj b/protocols/EmLanProto/amdproto_15.vcxproj index eba36865c5..b8f71e960a 100644 --- a/protocols/EmLanProto/amdproto_15.vcxproj +++ b/protocols/EmLanProto/amdproto_15.vcxproj @@ -85,6 +85,7 @@ <WarningLevel>Level3</WarningLevel> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -111,6 +112,7 @@ <PrecompiledHeader>Use</PrecompiledHeader> <WarningLevel>Level3</WarningLevel> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -138,6 +140,7 @@ <WarningLevel>Level3</WarningLevel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> @@ -167,6 +170,7 @@ <WarningLevel>Level3</WarningLevel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> <ExceptionHandling>false</ExceptionHandling> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> <Link> <AdditionalDependencies>Ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies> |