summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-03-15 11:56:38 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-03-15 11:56:38 -0300
commit5b54361daf933e33d4b1545f14e2cebbd04d93ff (patch)
tree23005b6861a80b90a3eebc0420f54413798f20ec
parent51b8102f14ff521334d956f9ebeef7b6e873a957 (diff)
parent1200689245aea59a1620145a3f85cc4bd76b561f (diff)
Merge pull request #1518 from argylelabcoat/patch-1
Update file_access_windows.cpp for mingw cross-compile
-rw-r--r--drivers/windows/file_access_windows.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/windows/file_access_windows.cpp b/drivers/windows/file_access_windows.cpp
index e24685432c..562ddd02e2 100644
--- a/drivers/windows/file_access_windows.cpp
+++ b/drivers/windows/file_access_windows.cpp
@@ -28,8 +28,10 @@
/*************************************************************************/
#ifdef WINDOWS_ENABLED
-#include <Windows.h>
-#include "Shlwapi.h"
+#define WINVER 0x0500
+
+#include <windows.h>
+#include "shlwapi.h"
#include "file_access_windows.h"