aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/ports/SkTypeface_win.h
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2015-12-01 09:02:49 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-01 09:02:49 -0800
commit0cbe7ee765cf72f15e6ca10b308676aa077fb3e2 (patch)
treefb6c06bbf5b34e9bc72cb5b659ccd8ce46de3700 /include/ports/SkTypeface_win.h
parent9323dc6a72de301f23e1187adc2365395b4b23d8 (diff)
CMake, include/: changes to make fiddle 2.0 better
cmake: remove unused directories from skia.h / ${public_includes} SkPreConfig.h: work around buggy `#ifdef linux` include: guard many platform-specific headers CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Release-CMake-Trybot,Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot Review URL: https://codereview.chromium.org/1488813002
Diffstat (limited to 'include/ports/SkTypeface_win.h')
-rw-r--r--include/ports/SkTypeface_win.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/ports/SkTypeface_win.h b/include/ports/SkTypeface_win.h
index 07752d82f9..b7373986c9 100644
--- a/include/ports/SkTypeface_win.h
+++ b/include/ports/SkTypeface_win.h
@@ -10,6 +10,8 @@
#include "SkTypeface.h"
+#ifdef SK_BUILD_FOR_WIN
+
/**
* Like the other Typeface create methods, this returns a new reference to the
* corresponding typeface for the specified logfont. The caller is responsible
@@ -58,4 +60,5 @@ SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr*);
*/
SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite();
-#endif
+#endif // SK_BUILD_FOR_WIN
+#endif // SkTypeface_win_DEFINED