summaryrefslogtreecommitdiff
path: root/protocols/Discord
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-18 15:40:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-18 15:40:58 +0300
commit0e854af70f6f330e63aa36fde125fbb0ca4ff8ef (patch)
treed681b5e06a8c572c13d82d0b49b54860fb896843 /protocols/Discord
parentd60f86e09f10ab4d55b94c6193b3bb3d3ca46b18 (diff)
C++ exceptions are disabled in all cases where they just prevent warnings
Diffstat (limited to 'protocols/Discord')
-rw-r--r--protocols/Discord/discord.vcxproj5
-rw-r--r--protocols/Discord/src/stdafx.h2
2 files changed, 2 insertions, 5 deletions
diff --git a/protocols/Discord/discord.vcxproj b/protocols/Discord/discord.vcxproj
index ef948176a8..ab81bd4bb4 100644
--- a/protocols/Discord/discord.vcxproj
+++ b/protocols/Discord/discord.vcxproj
@@ -25,11 +25,6 @@
<ImportGroup Label="PropertySheets">
<Import Project="$(ProjectDir)..\..\build\vc.common\plugin.props" />
</ImportGroup>
- <ItemDefinitionGroup>
- <ClCompile>
- <ExceptionHandling>Sync</ExceptionHandling>
- </ClCompile>
- </ItemDefinitionGroup>
<ItemGroup>
<ProjectReference Include="..\..\libs\zlib\zlib.vcxproj">
<Project>{01F9E227-06F5-4BED-907F-402CA7DFAFE6}</Project>
diff --git a/protocols/Discord/src/stdafx.h b/protocols/Discord/src/stdafx.h
index 10891296e9..7f23c5d300 100644
--- a/protocols/Discord/src/stdafx.h
+++ b/protocols/Discord/src/stdafx.h
@@ -8,6 +8,8 @@
#include <Windows.h>
#include <Shlwapi.h>
#include <Wincrypt.h>
+
+#include <malloc.h>
#include <stdio.h>
#include <io.h>
#include <direct.h>