https://git.reactos.org/?p=reactos.git;a=commitdiff;h=572e028de1198c9d91836e...
commit 572e028de1198c9d91836ea54d46feb025bc5e1d Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Fri Apr 5 19:45:45 2019 +0900 Commit: GitHub noreply@github.com CommitDate: Fri Apr 5 19:45:45 2019 +0900
[SDK][ATL] Independence day of ReactOS ATL (#1473)
Today is the Independence Day of ReactOS ATL (RATL). CORE-12935 https://github.com/katahiromz/RATL --- sdk/lib/atl/atlcore.h | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/sdk/lib/atl/atlcore.h b/sdk/lib/atl/atlcore.h index 1d4ec7b4bd..279fa7f107 100644 --- a/sdk/lib/atl/atlcore.h +++ b/sdk/lib/atl/atlcore.h @@ -22,14 +22,18 @@
#include <malloc.h>
-#define WIN32_NO_STATUS -#define _INC_WINDOWS -#define COM_NO_WINDOWS_H -#include <stdarg.h> -#include <windef.h> -#include <winbase.h> -#include <winreg.h> -#include <winnls.h> +#ifdef __REACTOS__ + #define WIN32_NO_STATUS + #define _INC_WINDOWS + #define COM_NO_WINDOWS_H + #include <stdarg.h> + #include <windef.h> + #include <winbase.h> + #include <winreg.h> + #include <winnls.h> +#else + #include <windows.h> +#endif #include <ole2.h> #include <olectl.h> #include <crtdbg.h>