From 20bd1a33ea87db821bab1b2de641c97f1807d0ae Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 17 Feb 2015 16:55:45 +0000 Subject: [PATCH] Added some #undefs to avoid clashes with badly-chosen macros in some 3rd party libraries. --- modules/juce_audio_basics/juce_audio_basics.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/juce_audio_basics/juce_audio_basics.h b/modules/juce_audio_basics/juce_audio_basics.h index 0169cc62fc..106df2be64 100644 --- a/modules/juce_audio_basics/juce_audio_basics.h +++ b/modules/juce_audio_basics/juce_audio_basics.h @@ -31,6 +31,9 @@ namespace juce { +#undef Complex // apparently some C libraries actually define these symbols (!) +#undef Factor + #include "buffers/juce_AudioDataConverters.h" #include "buffers/juce_AudioSampleBuffer.h" #include "buffers/juce_FloatVectorOperations.h"