Index: src/ports/SkTLS_win.cpp |
diff --git a/src/ports/SkTLS_win.cpp b/src/ports/SkTLS_win.cpp |
index cdfb465a7e5f3f07c4a2b55bd68070127a03f9e7..8bc55a0f2cfe9c04bf15fd4015321773b400a31a 100644 |
--- a/src/ports/SkTLS_win.cpp |
+++ b/src/ports/SkTLS_win.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 "SkTLS.h" |
#include "SkMutex.h" |
@@ -73,3 +75,5 @@ PIMAGE_TLS_CALLBACK skia_tls_callback = onTLSCallback; |
#endif |
} |
+ |
+#endif//defined(SK_BUILD_FOR_WIN32) |