mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Linux VST header fix.
This commit is contained in:
parent
0826b28983
commit
bb2d7683e5
3 changed files with 3 additions and 8 deletions
|
|
@ -62,13 +62,6 @@
|
|||
#endif
|
||||
|
||||
//==============================================================================
|
||||
#if JUCE_LINUX
|
||||
#define Font juce::Font
|
||||
#define KeyPress juce::KeyPress
|
||||
#define Drawable juce::Drawable
|
||||
#define Time juce::Time
|
||||
#endif
|
||||
|
||||
#include "juce_VSTMidiEventList.h"
|
||||
|
||||
#if ! JUCE_WINDOWS
|
||||
|
|
@ -1208,7 +1201,7 @@ public:
|
|||
return pluginWantsKeys;
|
||||
}
|
||||
|
||||
bool keyPressed (const KeyPress&)
|
||||
bool keyPressed (const juce::KeyPress&)
|
||||
{
|
||||
return pluginWantsKeys;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
|
||||
#if JUCE_PLUGINHOST_VST && JUCE_LINUX
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
|
|
@ -182,6 +182,7 @@
|
|||
#include <sys/file.h>
|
||||
#include <sys/prctl.h>
|
||||
#include <signal.h>
|
||||
#include <stddef.h>
|
||||
|
||||
//==============================================================================
|
||||
#elif JUCE_ANDROID
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue