summaryrefslogtreecommitdiff
path: root/protocols/Sametime
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 /protocols/Sametime
parent71cf924920e49642bb7944bc4fd969d85f469eb5 (diff)
fix for the possible crash with static variables
Diffstat (limited to 'protocols/Sametime')
-rw-r--r--protocols/Sametime/sametime_15.vcxproj22
1 files changed, 13 insertions, 9 deletions
diff --git a/protocols/Sametime/sametime_15.vcxproj b/protocols/Sametime/sametime_15.vcxproj
index cb39661311..bb1b353bce 100644
--- a/protocols/Sametime/sametime_15.vcxproj
+++ b/protocols/Sametime/sametime_15.vcxproj
@@ -94,6 +94,7 @@
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>Use</PrecompiledHeader>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -130,6 +131,7 @@
<WarningLevel>Level3</WarningLevel>
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<PrecompiledHeader>Use</PrecompiledHeader>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -167,6 +169,7 @@
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<PrecompiledHeader>Use</PrecompiledHeader>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -203,6 +206,7 @@
<DisableSpecificWarnings>4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<PrecompiledHeader>Use</PrecompiledHeader>
+ <AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
@@ -282,18 +286,18 @@
<ClCompile Include="src\meanwhile\src\st_list.c">
<PrecompiledHeader>NotUsing</PrecompiledHeader>
</ClCompile>
- <ClCompile Include="src\messaging.cpp"/>
- <ClCompile Include="src\options.cpp"/>
- <ClCompile Include="src\places.cpp"/>
- <ClCompile Include="src\sametime.cpp"/>
- <ClCompile Include="src\sametime_proto.cpp"/>
- <ClCompile Include="src\sametime_session.cpp"/>
- <ClCompile Include="src\session_announce_win.cpp"/>
+ <ClCompile Include="src\messaging.cpp" />
+ <ClCompile Include="src\options.cpp" />
+ <ClCompile Include="src\places.cpp" />
+ <ClCompile Include="src\sametime.cpp" />
+ <ClCompile Include="src\sametime_proto.cpp" />
+ <ClCompile Include="src\sametime_session.cpp" />
+ <ClCompile Include="src\session_announce_win.cpp" />
<ClCompile Include="src\StdAfx.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
- <ClCompile Include="src\userlist.cpp"/>
- <ClCompile Include="src\utils.cpp"/>
+ <ClCompile Include="src\userlist.cpp" />
+ <ClCompile Include="src\utils.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\meanwhile\src\mpi\mpi-config.h" />