Remove GCC version check from song list inclusion (#14600)

master
Drashna Jaelre 2021-09-25 10:35:27 -07:00 committed by GitHub
parent ab82ca1789
commit e1bf49fc97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

View File

@ -20,11 +20,9 @@
#include "musical_notes.h" #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")
# if __has_include("user_song_list.h") # include "user_song_list.h"
# include "user_song_list.h" #endif // if file exists
# endif // if file exists
#endif // __GNUC__
#define NO_SOUND #define NO_SOUND