From c841b2ff2cd69e733d2a550f2cf5b69595857206 Mon Sep 17 00:00:00 2001 From: reuk Date: Tue, 10 Jan 2023 17:19:33 +0000 Subject: [PATCH] Projucer: Always undef "linux" to avoid collisions with compiler builtins --- extras/Projucer/Source/Application/jucer_CommonHeaders.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extras/Projucer/Source/Application/jucer_CommonHeaders.h b/extras/Projucer/Source/Application/jucer_CommonHeaders.h index cfecff4829..7873dd7482 100644 --- a/extras/Projucer/Source/Application/jucer_CommonHeaders.h +++ b/extras/Projucer/Source/Application/jucer_CommonHeaders.h @@ -27,8 +27,7 @@ //============================================================================== -// The GCC extensions define linux somewhere in the headers, so undef it here... -#if JUCE_GCC +#ifdef linux #undef linux #endif