aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ports/SkDebug_win.cpp
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 /src/ports/SkDebug_win.cpp
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 'src/ports/SkDebug_win.cpp')
-rw-r--r--src/ports/SkDebug_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ports/SkDebug_win.cpp b/src/ports/SkDebug_win.cpp
index 599b133e54..fe28ee27b1 100644
--- a/src/ports/SkDebug_win.cpp
+++ b/src/ports/SkDebug_win.cpp
@@ -14,7 +14,7 @@ static const size_t kBufferSize = 2048;
#include <stdarg.h>
#include <stdio.h>
-#include <Windows.h>
+#include <windows.h>
void SkDebugf(const char format[], ...) {
char buffer[kBufferSize + 1];