From b29b45e8cdfa5d45d68e11ad5818d8a19ec32e9d Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 20 Mar 2020 17:10:07 +0000 Subject: [PATCH] Projucer: undef "linux" when using GCC to fix symbol collision when using the GNU extensions --- extras/Projucer/Source/Application/jucer_CommonHeaders.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/extras/Projucer/Source/Application/jucer_CommonHeaders.h b/extras/Projucer/Source/Application/jucer_CommonHeaders.h index a74f655f30..0c328c12d5 100644 --- a/extras/Projucer/Source/Application/jucer_CommonHeaders.h +++ b/extras/Projucer/Source/Application/jucer_CommonHeaders.h @@ -28,6 +28,11 @@ //============================================================================== +// The GCC extensions define linux somewhere in the headers, so undef it here... +#if JUCE_GCC + #undef linux +#endif + struct TargetOS { enum OS