Skip to content

Commit

Permalink
Remove GCC version check from song list inclusion (qmk#14600)
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna authored Sep 25, 2021
1 parent 7a6913c commit cd25998
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions quantum/audio/song_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@

#include "musical_notes.h"

#if __GNUC__ > 5 // don't use for older gcc compilers since check isn't supported.
# if __has_include("user_song_list.h")
# include "user_song_list.h"
# endif // if file exists
#endif // __GNUC__
#if __has_include("user_song_list.h")
# include "user_song_list.h"
#endif // if file exists

#define NO_SOUND

Expand Down

0 comments on commit cd25998

Please sign in to comment.