mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
Only support override in Clang.
This commit is contained in:
parent
09d37aaa01
commit
b9d2d3326d
@ -10,13 +10,8 @@
|
||||
|
||||
#if __has_extension(cxx_override_control) // Clang feature checking macro.
|
||||
# define OVERRIDE override
|
||||
#elif defined(__GNUC__) // Clang also defines this.
|
||||
# include <features.h>
|
||||
# if __GNUC_PREREQ(4,7)
|
||||
# define OVERRIDE override
|
||||
# else
|
||||
# define OVERRIDE
|
||||
# endif
|
||||
#else
|
||||
# define OVERRIDE
|
||||
#endif
|
||||
|
||||
#endif // OVERRIDE_H
|
||||
|
Loading…
Reference in New Issue
Block a user