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 /plugins/MirOTR/libotr/libotr_15.vcxproj | |
parent | 71cf924920e49642bb7944bc4fd969d85f469eb5 (diff) |
fix for the possible crash with static variables
Diffstat (limited to 'plugins/MirOTR/libotr/libotr_15.vcxproj')
-rw-r--r-- | plugins/MirOTR/libotr/libotr_15.vcxproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/MirOTR/libotr/libotr_15.vcxproj b/plugins/MirOTR/libotr/libotr_15.vcxproj index c2fcca93bd..e7d4a4393d 100644 --- a/plugins/MirOTR/libotr/libotr_15.vcxproj +++ b/plugins/MirOTR/libotr/libotr_15.vcxproj @@ -82,6 +82,7 @@ <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -93,6 +94,7 @@ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -105,6 +107,7 @@ <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FloatingPointModel>Fast</FloatingPointModel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -116,6 +119,7 @@ <DisableSpecificWarnings>4996;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings> <FloatingPointModel>Fast</FloatingPointModel> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemGroup> |