summarylogtreecommitdiffstats
path: root/fix_Win32_header.patch
diff options
context:
space:
mode:
authorDrasLorus2024-03-20 22:46:25 +0100
committerDrasLorus2024-03-20 22:47:01 +0100
commite1067b2d11958489230e45544eb0a7a989fe9159 (patch)
tree768349dc3e1ebda3683d075c8496f399da2f39ca /fix_Win32_header.patch
parent3c6760e13117dbcd2b55bffba2b15569065bf1c9 (diff)
downloadaur-mingw-w64-libmatio-git.tar.gz
Add a patch to solve MinGW case sensitivity
Diffstat (limited to 'fix_Win32_header.patch')
-rw-r--r--fix_Win32_header.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/fix_Win32_header.patch b/fix_Win32_header.patch
new file mode 100644
index 000000000000..85e209c65332
--- /dev/null
+++ b/fix_Win32_header.patch
@@ -0,0 +1,13 @@
+diff --git a/src/io.c b/src/io.c
+index cd8dc6e..4c7e361 100644
+--- a/src/io.c
++++ b/src/io.c
+@@ -32,7 +32,7 @@
+ #if defined(_WIN32)
+ #define WIN32_LEAN_AND_MEAN
+ #define NOGDI
+-#include <Windows.h>
++#include <windows.h>
+ #endif
+ #include <stdlib.h>
+ #include <stdarg.h>