https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9f00854bad097d64e73cc…
commit 9f00854bad097d64e73ccad3ade0cda229a2a601
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Apr 16 22:53:56 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Thu Apr 18 19:21:38 2019 +0200
[MSGINA] Disable exceptions in atl when compiling without exceptions
---
dll/win32/msgina/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dll/win32/msgina/CMakeLists.txt b/dll/win32/msgina/CMakeLists.txt
index 694481bc91..ca47e6c1d0 100644
--- a/dll/win32/msgina/CMakeLists.txt
+++ b/dll/win32/msgina/CMakeLists.txt
@@ -1,6 +1,9 @@
set_cpp(WITH_RUNTIME)
+add_definitions(
+ -D_ATL_NO_EXCEPTIONS)
+
include_directories(
${REACTOS_SOURCE_DIR}/sdk/lib/atl
${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)