aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils/win/SkDWrite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/win/SkDWrite.cpp')
-rw-r--r--src/utils/win/SkDWrite.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/win/SkDWrite.cpp b/src/utils/win/SkDWrite.cpp
index 2254961d14..2fdd6115b0 100644
--- a/src/utils/win/SkDWrite.cpp
+++ b/src/utils/win/SkDWrite.cpp
@@ -4,6 +4,8 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+#include "SkTypes.h"
+#if defined(SK_BUILD_FOR_WIN32)
#include "SkDWrite.h"
#include "SkHRESULT.h"
@@ -122,3 +124,5 @@ HRESULT SkGetGetUserDefaultLocaleNameProc(SkGetUserDefaultLocaleNameProc* proc)
}
return S_OK;
}
+
+#endif//defined(SK_BUILD_FOR_WIN32)