From bb2d7683e561433902b42fae0aa82cd824c65a42 Mon Sep 17 00:00:00 2001 From: jules Date: Sun, 22 Apr 2012 16:12:40 +0100 Subject: [PATCH] Linux VST header fix. --- .../format_types/juce_VSTPluginFormat.cpp | 9 +-------- modules/juce_audio_processors/juce_audio_processors.cpp | 1 + modules/juce_core/native/juce_BasicNativeHeaders.h | 1 + 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index 16b6be0940..56846d023f 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -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; } diff --git a/modules/juce_audio_processors/juce_audio_processors.cpp b/modules/juce_audio_processors/juce_audio_processors.cpp index fdf43b7af0..a6e9d72524 100644 --- a/modules/juce_audio_processors/juce_audio_processors.cpp +++ b/modules/juce_audio_processors/juce_audio_processors.cpp @@ -54,6 +54,7 @@ #if JUCE_PLUGINHOST_VST && JUCE_LINUX #include + #include #endif //============================================================================== diff --git a/modules/juce_core/native/juce_BasicNativeHeaders.h b/modules/juce_core/native/juce_BasicNativeHeaders.h index 40ef0b180f..5eda355f5d 100644 --- a/modules/juce_core/native/juce_BasicNativeHeaders.h +++ b/modules/juce_core/native/juce_BasicNativeHeaders.h @@ -182,6 +182,7 @@ #include #include #include + #include //============================================================================== #elif JUCE_ANDROID