summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2019-05-15 10:54:42 +0800
committerMoritz Angermann <moritz.angermann@gmail.com>2019-05-27 01:19:49 -0400
commit4b2287681e1610ad9fdc665c50f4f1476d856060 (patch)
tree4a2f3e6f3ff0db4fad25551430dd6709c43a17a1 /driver
parent2d0cf6252957b8980d89481ecd0b79891da4b14b (diff)
downloadhaskell-4b2287681e1610ad9fdc665c50f4f1476d856060.tar.gz
Lowercase windows imports
While windows and macOS are currently on case-insensitive file systems, this poses no issue on those. When cross compiling from linux with a case sensitive file system and mingw providing only lowercase headers, this in fact produces an issue. As such we just lowercase the import headers, which should still work fine on a case insensitive file system and also enable mingw's headers to be usable porperly.
Diffstat (limited to 'driver')
-rw-r--r--driver/utils/dynwrapper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/utils/dynwrapper.c b/driver/utils/dynwrapper.c
index 7fb06e5945..1e30ce9d00 100644
--- a/driver/utils/dynwrapper.c
+++ b/driver/utils/dynwrapper.c
@@ -9,8 +9,8 @@ int rtsOpts;
#include <stdarg.h>
#include <stdio.h>
-#include <Windows.h>
-#include <Shlwapi.h>
+#include <windows.h>
+#include <shlwapi.h>
#include "Rts.h"