From 4ae6772f5a17d0590fa149b24dd1797c0927e667 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Sat, 1 Aug 2020 05:24:07 +0200 Subject: [PATCH] C++: Remove windows.h macros/types from reserved words list --- Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs b/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs index 8ad8a39..e9eb0f7 100644 --- a/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs +++ b/Il2CppInspector.Common/Cpp/CppDeclarationGenerator.cs @@ -542,7 +542,7 @@ namespace Il2CppInspector.Cpp } /* Reserve commonly defined C++ symbols for MSVC DLL projects */ /* This is not an exhaustive list! (windows.h etc.) */ - foreach (var symbol in new[] {"_int32", "DEFAULT_CHARSET", "FILETIME", "NULL", "SYSTEMTIME", "stderr", "stdin", "stdout", "Sleep", "PlatformInformation", "LoadResource"}) { + foreach (var symbol in new[] {"_int32", "DEFAULT_CHARSET", "FILETIME", "NULL", "SYSTEMTIME", "stderr", "stdin", "stdout"}) { ns.ReserveName(symbol); } /* Reserve builtin keywords in IDA */