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