Browse Source

Merge pull request #1518 from argylelabcoat/patch-1

Update file_access_windows.cpp for mingw cross-compile
Juan Linietsky 10 years ago
parent
commit
5b54361daf
1 changed files with 4 additions and 2 deletions
  1. 4 2
      drivers/windows/file_access_windows.cpp

+ 4 - 2
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"