[SDK][ATL] Independence day of ReactOS ATL (#1473)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Fri, 5 Apr 2019 10:45:45 +0000 (19:45 +0900)
committerGitHub <noreply@github.com>
Fri, 5 Apr 2019 10:45:45 +0000 (19:45 +0900)
Today is the Independence Day of ReactOS ATL (RATL). CORE-12935
https://github.com/katahiromz/RATL

sdk/lib/atl/atlcore.h

index 1d4ec7b..279fa7f 100644 (file)
 
 #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>