DescriptionFix 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
Committed: https://skia.googlesource.com/skia/+/6b87df2997980218308954ade47df7fdd6680bc7
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|