aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-09-25 10:35:27 -0700
committerGitHub <noreply@github.com>2021-09-25 18:35:27 +0100
commite1bf49fc97a3b97a260566fda7ed457eab10bf8f (patch)
treecc689be95c86a8160978b5559d78ea70011898f1
parentab82ca1789e6fc6816eae3fff6162b9a0b857aee (diff)
downloadqmk_firmware-e1bf49fc97a3b97a260566fda7ed457eab10bf8f.tar.gz
qmk_firmware-e1bf49fc97a3b97a260566fda7ed457eab10bf8f.zip
Remove GCC version check from song list inclusion (#14600)
-rw-r--r--quantum/audio/song_list.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/quantum/audio/song_list.h b/quantum/audio/song_list.h
index b54b397e1..8e80a016a 100644
--- a/quantum/audio/song_list.h
+++ b/quantum/audio/song_list.h
@@ -20,11 +20,9 @@
20 20
21#include "musical_notes.h" 21#include "musical_notes.h"
22 22
23#if __GNUC__ > 5 // don't use for older gcc compilers since check isn't supported. 23#if __has_include("user_song_list.h")
24# if __has_include("user_song_list.h") 24# include "user_song_list.h"
25# include "user_song_list.h" 25#endif // if file exists
26# endif // if file exists
27#endif // __GNUC__
28 26
29#define NO_SOUND 27#define NO_SOUND
30 28