projects
/
platform
/
upstream
/
libSkiaSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa1f7e
)
Enable override keyword for GCC versions >= 4.7
author
djsollen
<djsollen@google.com>
Fri, 20 Feb 2015 20:35:37 +0000
(12:35 -0800)
committer
Commit bot
<commit-bot@chromium.org>
Fri, 20 Feb 2015 20:35:37 +0000
(12:35 -0800)
Review URL: https://codereview.chromium.org/
945803005
include/core/SkPostConfig.h
patch
|
blob
|
history
diff --git
a/include/core/SkPostConfig.h
b/include/core/SkPostConfig.h
index
ad0098f
..
41ad930
100644
(file)
--- 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