Index: src/utils/SkThreadUtils_win.cpp |
diff --git a/src/utils/SkThreadUtils_win.cpp b/src/utils/SkThreadUtils_win.cpp |
index 07cceee14218ec629d1da7e38c82b1e47cb473bc..0da339aa849978d0238cec13ec1754eb7f1076a6 100644 |
--- a/src/utils/SkThreadUtils_win.cpp |
+++ b/src/utils/SkThreadUtils_win.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "SkTypes.h" |
+#if defined(SK_BUILD_FOR_WIN32) |
#include "SkThreadUtils.h" |
#include "SkThreadUtils_win.h" |
@@ -96,3 +97,5 @@ void SkThread::join() { |
WaitForSingleObject(winData->fHandle, INFINITE); |
} |
+ |
+#endif//defined(SK_BUILD_FOR_WIN32) |