[SHELL32_APITEST] Disable exceptions in atl when compiling without exceptions

This commit is contained in:
Mark Jansen 2019-04-16 23:04:07 +02:00
parent a255e1d693
commit 10fa9bfe0a
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,7 @@
add_definitions(
-D_ATL_NO_EXCEPTIONS)
set_cpp(WITH_RUNTIME)
spec2def(shell32_apitest.exe shell32_apitest.spec)

View file

@ -1,7 +1,7 @@
#ifndef _SHELLTEST_H_
#define _SHELLTEST_H_
#define _INC_WINDOWS
//#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <ntstatus.h>