From be8f99e8fe8cdb46262cd9932bc2beb62092a892 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 10 Dec 2022 14:28:05 +0100 Subject: [PATCH] Another fix to avoid conflict names issues with mingw + pegtl. Fixes #13118 https://gitlab.com/kicad/code/kicad/issues/13118 --- eeschema/sim/sim_value.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eeschema/sim/sim_value.h b/eeschema/sim/sim_value.h index dd2637b10a..6d450725f4 100644 --- a/eeschema/sim/sim_value.h +++ b/eeschema/sim/sim_value.h @@ -35,7 +35,10 @@ // that can create issues in .cpp files, mainly on msys2 #if defined (__MINGW32__) #if defined ( LoadLibrary ) -#undef LoadLibrary + #undef LoadLibrary +#endif +#if defined ( GetClassInfo ) + #undef GetClassInfo #endif #endif