Minor fix to avoid conflict names issues with mingw + pegtl.
This commit is contained in:
parent
da9aa2ae6f
commit
e74654a20f
|
@ -31,6 +31,14 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <pegtl.hpp>
|
#include <pegtl.hpp>
|
||||||
|
|
||||||
|
// Undef some annoying defines in windows headers added by pegtl.hpp
|
||||||
|
// that can create issues in .cpp files, mainly on msys2
|
||||||
|
#if defined (__MINGW32__)
|
||||||
|
#if defined ( LoadLibrary )
|
||||||
|
#undef LoadLibrary
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
namespace SIM_VALUE_GRAMMAR
|
namespace SIM_VALUE_GRAMMAR
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue