From d42194f8e15a21b8e2b27070d3118b46f0c78042 Mon Sep 17 00:00:00 2001 From: Lukas W Date: Mon, 11 Jun 2018 17:01:40 +0200 Subject: [PATCH] VstPlugin: Fix define naming conflict with MinGW --- plugins/vst_base/VstPlugin.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/vst_base/VstPlugin.cpp b/plugins/vst_base/VstPlugin.cpp index b14efcb5e..791150da1 100644 --- a/plugins/vst_base/VstPlugin.cpp +++ b/plugins/vst_base/VstPlugin.cpp @@ -74,6 +74,11 @@ namespace PE // Utilities for reading PE file machine type // See specification at https://msdn.microsoft.com/library/windows/desktop/ms680547(v=vs.85).aspx +// Work around name conflict +#ifdef i386 +# undef i386 +#endif + enum class MachineType : uint16_t { unknown = 0x0,