1
0
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:
John Maguire 2012-06-21 16:13:41 +02:00
parent 09d37aaa01
commit b9d2d3326d

View File

@ -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
#else
# define OVERRIDE
# endif
#endif
#endif // OVERRIDE_H