aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/gl/SkNativeGLContext.h
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-03 15:23:37 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-12-03 15:23:37 +0000
commit0d9e3da8bb853c5ed96d13646a4264eb57b13a2a (patch)
treeeef6a307bb54c3ef2253daabbfce0b200572af54 /include/gpu/gl/SkNativeGLContext.h
parent9716586184931bb338fa41e59e216f012496e80d (diff)
Use lowercase windows.h in includes to fix Windows cross compilation using mingw.
While it doesn't matter on Windows, mingw on case-sensitive OSes uses all lower case filenames for platform include files. I found the problem in SkCondVar.h from Mozilla checkout of skia sources, but the patch contains a fix for the whole skia tree. R=bungeman@google.com Review URL: https://codereview.chromium.org/99173003 git-svn-id: http://skia.googlecode.com/svn/trunk@12461 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/gl/SkNativeGLContext.h')
-rw-r--r--include/gpu/gl/SkNativeGLContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/gl/SkNativeGLContext.h b/include/gpu/gl/SkNativeGLContext.h
index a18c443165..7254de1509 100644
--- a/include/gpu/gl/SkNativeGLContext.h
+++ b/include/gpu/gl/SkNativeGLContext.h
@@ -19,7 +19,7 @@
#include <X11/Xlib.h>
#include <GL/glx.h>
#elif defined(SK_BUILD_FOR_WIN32)
- #include <Windows.h>
+ #include <windows.h>
#include <GL/GL.h>
#endif