Просмотр исходного кода

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

Drashna Jaelre 3 лет назад
Родитель
Сommit
e1bf49fc97
1 измененных файлов с 3 добавлено и 5 удалено
  1. 3 5
      quantum/audio/song_list.h

+ 3 - 5
quantum/audio/song_list.h

@@ -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