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/ekhtml | |
parent | 71cf924920e49642bb7944bc4fd969d85f469eb5 (diff) |
fix for the possible crash with static variables
Diffstat (limited to 'plugins/MirOTR/ekhtml')
-rw-r--r-- | plugins/MirOTR/ekhtml/ekhtml_15.vcxproj | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj b/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj index 03b2b817d4..9ff50e34c8 100644 --- a/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj +++ b/plugins/MirOTR/ekhtml/ekhtml_15.vcxproj @@ -83,6 +83,7 @@ <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> <DebugInformationFormat>EditAndContinue</DebugInformationFormat> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> @@ -94,6 +95,7 @@ <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> <WarningLevel>Level3</WarningLevel> <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> @@ -109,6 +111,7 @@ <FloatingPointExceptions>false</FloatingPointExceptions> <CreateHotpatchableImage>false</CreateHotpatchableImage> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> @@ -123,6 +126,7 @@ <FloatingPointExceptions>false</FloatingPointExceptions> <CreateHotpatchableImage>false</CreateHotpatchableImage> <FavorSizeOrSpeed>Size</FavorSizeOrSpeed> + <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions> </ClCompile> </ItemDefinitionGroup> <ItemGroup> |