summaryrefslogtreecommitdiff
path: root/plugins/AdvaImg
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 /plugins/AdvaImg
parent71cf924920e49642bb7944bc4fd969d85f469eb5 (diff)
fix for the possible crash with static variables
Diffstat (limited to 'plugins/AdvaImg')
-rw-r--r--plugins/AdvaImg/AdvaImg_15.vcxproj4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/AdvaImg/AdvaImg_15.vcxproj b/plugins/AdvaImg/AdvaImg_15.vcxproj
index b66e58be0d..08fea49cd1 100644
--- a/plugins/AdvaImg/AdvaImg_15.vcxproj
+++ b/plugins/AdvaImg/AdvaImg_15.vcxproj
@@ -85,6 +85,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -112,6 +113,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;UNICODE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -140,6 +142,7 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -166,6 +169,7 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>