mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-26 21:32:17 +00:00
Use conforming preprocessor with modern MSVC
https://learn.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview
This commit is contained in:
@@ -1337,7 +1337,7 @@ static bool udt_should_suppress(const wchar_t* type_name)
|
||||
// removed obsolete defs: HEVENT, HFILE, HUMPD
|
||||
if(type_name[0] != 'H')
|
||||
goto not_handle;
|
||||
#define SUPPRESS_HANDLE(name) if(!wcscmp(type_name, L#name L"__")) return true;
|
||||
#define SUPPRESS_HANDLE(name) if(!wcscmp(type_name, L""#name L"__")) return true;
|
||||
SUPPRESS_HANDLE(HACCEL);
|
||||
SUPPRESS_HANDLE(HBITMAP);
|
||||
SUPPRESS_HANDLE(HBRUSH);
|
||||
|
||||
Reference in New Issue
Block a user