Enable override keyword for GCC versions >= 4.7

Review URL: https://codereview.chromium.org/945803005
This commit is contained in:
djsollen 2015-02-20 12:35:37 -08:00 committed by Commit bot
parent 2aa1f7e679
commit 7ff705023d

View File

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