aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/skpdiff/SkImageDiffer.h
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-10-06 10:46:50 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-06 10:46:51 -0700
commit6b87df2997980218308954ade47df7fdd6680bc7 (patch)
tree492da565c06966435b40c50bffebeae9c12faad6 /tools/skpdiff/SkImageDiffer.h
parent8d56e27ef5d734b4579325be86da6c3ab682345c (diff)
Fix usage of SK_BUILD_* defines.
Since we just 'define' them, but not attribute anything to them, like '1' for example, cpp expands it to nothing and that breaks the "#if" clauses. To fix that, uses "#if defined(...)" which will correctly check if your macro name was defined or not. BUG=skia:2850 TEST=make most R=robertphillips@google.com Review URL: https://codereview.chromium.org/628763005
Diffstat (limited to 'tools/skpdiff/SkImageDiffer.h')
0 files changed, 0 insertions, 0 deletions