Use conforming preprocessor with modern MSVC

https://learn.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview
This commit is contained in:
Itms
2025-08-04 14:39:56 +02:00
committed by Nicolas Auvray
parent 251f6bfc86
commit 03fff3572f
5 changed files with 7 additions and 46 deletions
+1 -1
View File
@@ -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);