[MSGINA] Disable exceptions in atl when compiling without exceptions
authorMark Jansen <mark.jansen@reactos.org>
Tue, 16 Apr 2019 20:53:56 +0000 (22:53 +0200)
committerMark Jansen <mark.jansen@reactos.org>
Thu, 18 Apr 2019 17:21:38 +0000 (19:21 +0200)
dll/win32/msgina/CMakeLists.txt

index 694481b..ca47e6c 100644 (file)
@@ -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)