https://git.reactos.org/?p=reactos.git;a=commitdiff;h=aff8581f6df667814a61a980dfdfe602e2dacce9

commit aff8581f6df667814a61a980dfdfe602e2dacce9
Author:     Mark Jansen <[email protected]>
AuthorDate: Thu Apr 18 19:21:00 2019 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Thu Apr 18 19:21:39 2019 +0200

    [RSHELL] Disable exceptions in atl when compiling without exceptions
---
 base/shell/rshell/CMakeLists.txt | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/base/shell/rshell/CMakeLists.txt b/base/shell/rshell/CMakeLists.txt
index 5d4170d58e..a2722178bb 100644
--- a/base/shell/rshell/CMakeLists.txt
+++ b/base/shell/rshell/CMakeLists.txt
@@ -1,5 +1,8 @@
 PROJECT(SHELL)
 
+add_definitions(
+    -D_ATL_NO_EXCEPTIONS)
+
 set_cpp(WITH_RUNTIME)
 
 include_directories(

Reply via email to