Iamage loader: include windows.h and not Windows.h
authorVincent Torri <vincent.torri@gmail.com>
Fri, 28 Jun 2019 08:40:16 +0000 (10:40 +0200)
committerHermet Park <hermetpark@gmail.com>
Wed, 10 Jul 2019 01:55:57 +0000 (10:55 +0900)
Indeed, when cross-compiling on Linux, which has a case
sensitive file system, and as minwg-w64 provides windows.h,
we must use lower case name for header files.

src/vector/vimageloader.cpp

index 4f3f84062b4c84dd7f715fc4f8757154f1847cd8..6ddedf243f2f56238dc5aeaa9f99d80348ecfabc 100644 (file)
@@ -4,7 +4,7 @@
 #ifndef WIN32
 #include <dlfcn.h>
 #else
-#include <Windows.h>
+#include <windows.h>
 #endif
 #include <cstring>