summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2015-11-12 21:03:34 +0100
committerSylvain Munaut <tnt@246tNt.com>2016-01-25 16:27:00 +0100
commitacdddf6e907d4bbb343a0de8ad3f68c372c25191 (patch)
tree5f955ceea73e6264f41d57e7d9b5ad7b8b84dbe2
parent12c1a6d3f8e2b4540e870cfa612e51727fa0b1b1 (diff)
fosphor: Use lowercase for WIN32 includes
Apparently needed for mingw build and doesn't affect the MSVC ones. Thanks to Martin Hauke <mardnh@gmx.de> for reporting Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rw-r--r--lib/fosphor/cl.c4
-rw-r--r--lib/fosphor/cl_compat.c2
-rw-r--r--lib/fosphor/main.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/fosphor/cl.c b/lib/fosphor/cl.c
index b475396..67719d6 100644
--- a/lib/fosphor/cl.c
+++ b/lib/fosphor/cl.c
@@ -40,8 +40,8 @@
# include <OpenGL/OpenGL.h>
# include <OpenGL/gl.h>
#elif defined(_WIN32)
-# include <Windows.h>
-# include <Wingdi.h>
+# include <windows.h>
+# include <wingdi.h>
#else
# include <GL/glx.h>
#endif
diff --git a/lib/fosphor/cl_compat.c b/lib/fosphor/cl_compat.c
index f312a9c..aefee3c 100644
--- a/lib/fosphor/cl_compat.c
+++ b/lib/fosphor/cl_compat.c
@@ -29,7 +29,7 @@
/* Include whatever is needed for dynamic symbol lookup */
#ifdef _WIN32
-# include <Windows.h>
+# include <windows.h>
#else
# define _GNU_SOURCE
# include <dlfcn.h>
diff --git a/lib/fosphor/main.c b/lib/fosphor/main.c
index 08b9ec7..f0c5be3 100644
--- a/lib/fosphor/main.c
+++ b/lib/fosphor/main.c
@@ -48,7 +48,7 @@ static const int k_db_per_div[] = { 1, 2, 5, 10, 20 };
#ifdef _WIN32
#include <time.h>
-#include <Windows.h>
+#include <windows.h>
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
# define DELTA_EPOCH_IN_MICROSECS 11644473600000000Ui64