[ATL][ATL_APITEST] Independent ReactOS ATL (RATL) support (#5657)

This is an attempt to make ReactOS ATL (RATL) independent.
https://github.com/katahiromz/RATL
CORE-19153
This commit is contained in:
Katayama Hirofumi MZ 2023-09-20 12:02:33 +09:00 committed by GitHub
parent 490fbfb2c5
commit ebfec38cd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 2 deletions

View file

@ -63,13 +63,13 @@ public:
END_COM_MAP()
};
#ifndef __RATL__ // Avoid conflict (causing assertion at CAtlModule::CAtlModule)
class CDumExe: public CAtlExeModuleT<CDumExe>
{
};
CDumExe dum;
#endif
START_TEST(CComObject)
{

View file

@ -80,6 +80,8 @@ public:
#define DECLARE_QIPTR(type) CComQIIDPtr<I_ID(type)>
#elif defined(__GNUC__)
#define DECLARE_QIPTR(type) CComQIIDPtr<I_ID(type)>
#elif defined(__RATL__)
#define DECLARE_QIPTR(type) CComQIIDPtr<I_ID(type)>
#else
#define DECLARE_QIPTR(type) CComQIPtr<type>
#endif