diff options
author | Mike Klein <mtklein@chromium.org> | 2017-03-15 09:43:04 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-15 17:36:49 +0000 |
commit | 04ef48c2005cbe4b967a3743f70199de78fbc43d (patch) | |
tree | d82b4085e89b4ee147aefe20da6b517b943fb2fe /tools | |
parent | 9e62df6ecd1000860ad19ab9425579dfb7002ba0 (diff) |
Fix warning in Clang 4.0 Mac build.
../src/views/mac/SkNSView.mm:18:31: note: expanded from macro 'RETINA_API_AVAILABLE'
#define RETINA_API_AVAILABLE (defined(MAC_OS_X_VERSION_10_7) && \
^
../src/views/mac/SkNSView.mm:404:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined]
#if RETINA_API_AVAILABLE
After this change, Clang 4.0 builds everything on Mac without warning.
Change-Id: I9c8f63e009eaa69366ba9361a811df46a1204c24
Reviewed-on: https://skia-review.googlesource.com/9741
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions