Browse Source

Some mingw compile fixes.

tags/2021-05-28
jules 12 years ago
parent
commit
e6b717e713
2 changed files with 12 additions and 0 deletions
  1. +8
    -0
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp
  2. +4
    -0
      modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp

+ 8
- 0
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View File

@@ -41,6 +41,14 @@
#undef STRICT
#define STRICT 1
#include <windows.h>
#ifdef __MINGW32__
struct MOUSEHOOKSTRUCTEX
{
MOUSEHOOKSTRUCT _unnamed;
DWORD mouseData;
};
#endif
#elif defined (LINUX)
#include <X11/Xlib.h>
#include <X11/Xutil.h>


+ 4
- 0
modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp View File

@@ -65,6 +65,10 @@
#include "juce_VSTMidiEventList.h"
#if JUCE_MINGW
#ifndef WM_APPCOMMAND
#define WM_APPCOMMAND 0x0319
#endif
extern "C" void _fpreset();
extern "C" void _clearfp();
#elif ! JUCE_WINDOWS


Loading…
Cancel
Save