Index: src/utils/win/SkDWrite.h |
diff --git a/src/utils/win/SkDWrite.h b/src/utils/win/SkDWrite.h |
index 679447dfc61300dec86d33d40a6fd7580b66ef79..e763b4a0972fd89a31e06106d2da8ee46500be4b 100644 |
--- a/src/utils/win/SkDWrite.h |
+++ b/src/utils/win/SkDWrite.h |
@@ -37,7 +37,7 @@ HRESULT sk_wchar_to_skstring(WCHAR* name, SkString* skname); |
void sk_get_locale_string(IDWriteLocalizedStrings* names, const WCHAR* preferedLocale, |
SkString* skname); |
-typedef decltype(GetUserDefaultLocaleName)* SkGetUserDefaultLocaleNameProc; |
+typedef int (WINAPI *SkGetUserDefaultLocaleNameProc)(LPWSTR, int); |
HRESULT SkGetGetUserDefaultLocaleNameProc(SkGetUserDefaultLocaleNameProc* proc); |
//////////////////////////////////////////////////////////////////////////////// |