commit | 6b87df2997980218308954ade47df7fdd6680bc7 | [log] [tgz] |
---|---|---|
author | tfarina <tfarina@chromium.org> | Mon Oct 06 10:46:50 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Oct 06 10:46:51 2014 -0700 |
tree | 492da565c06966435b40c50bffebeae9c12faad6 | |
parent | 8d56e27ef5d734b4579325be86da6c3ab682345c [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