Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index ad0098f4294d11dd0a0519f8572adcb60b1de378..41ad93098913f41a0c369f095bf3c836440a1ce8 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -302,6 +302,9 @@ |
# elif defined(__has_extension) && __has_extension(cxx_override_control) |
# define SK_OVERRIDE override |
# endif |
+ // if GCC >= 4.7 |
+# elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 7)) |
+# define SK_OVERRIDE override |
# endif |
# ifndef SK_OVERRIDE |
# define SK_OVERRIDE |