aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/using_skia_and_harfbuzz.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-03-15 09:43:04 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-15 17:36:49 +0000
commit04ef48c2005cbe4b967a3743f70199de78fbc43d (patch)
treed82b4085e89b4ee147aefe20da6b517b943fb2fe /tools/using_skia_and_harfbuzz.cpp
parent9e62df6ecd1000860ad19ab9425579dfb7002ba0 (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/using_skia_and_harfbuzz.cpp')
0 files changed, 0 insertions, 0 deletions