mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 03:45:56 +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.
|
#if __has_extension(cxx_override_control) // Clang feature checking macro.
|
||||||
# define OVERRIDE override
|
# define OVERRIDE override
|
||||||
#elif defined(__GNUC__) // Clang also defines this.
|
#else
|
||||||
# include <features.h>
|
# define OVERRIDE
|
||||||
# if __GNUC_PREREQ(4,7)
|
|
||||||
# define OVERRIDE override
|
|
||||||
# else
|
|
||||||
# define OVERRIDE
|
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // OVERRIDE_H
|
#endif // OVERRIDE_H
|
||||||
|
Loading…
Reference in New Issue
Block a user