From e13eba86e5e0d2fbc992d056de9581c0fdc8816f Mon Sep 17 00:00:00 2001 From: DGarry82 Date: Sat, 9 Oct 2021 15:49:33 +0300 Subject: [PATCH] use lowercase header filenames with MinGW toolchain (#3489) --- cli/cppcheckexecutor.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/cli/cppcheckexecutor.cpp b/cli/cppcheckexecutor.cpp index 3cef91f87..1be14b26a 100644 --- a/cli/cppcheckexecutor.cpp +++ b/cli/cppcheckexecutor.cpp @@ -72,9 +72,15 @@ #if defined(_MSC_VER) #define USE_WINDOWS_SEH #endif -#include -#include -#include +#if defined (__MINGW32__) +# include +# include +# include +#else +# include +# include +# include +#endif #include #endif