Index: src/utils/win/SkWGL_win.cpp |
diff --git a/src/utils/win/SkWGL_win.cpp b/src/utils/win/SkWGL_win.cpp |
index ef07bea61e7bb2b6ac138c641d5d4febcd65799d..bc22795e2ffb3bb57f2240b492f92004ca512a55 100644 |
--- a/src/utils/win/SkWGL_win.cpp |
+++ b/src/utils/win/SkWGL_win.cpp |
@@ -6,6 +6,9 @@ |
* found in the LICENSE file. |
*/ |
+#include "SkTypes.h" |
+#if defined(SK_BUILD_FOR_WIN32) |
+ |
#include "SkWGL.h" |
#include "SkTDArray.h" |
@@ -455,3 +458,5 @@ SkWGLPbufferContext::SkWGLPbufferContext(HPBUFFER pbuffer, HDC dc, HGLRC glrc) |
, fDC(dc) |
, fGLRC(glrc) { |
} |
+ |
+#endif//defined(SK_BUILD_FOR_WIN32) |