1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:23:51 +00:00

Fixed some compilation errors on windows.

Note that it works on my computer, but it *might* not work on older versions
of windows.
This commit is contained in:
gugus 2011-10-02 13:05:08 +02:00
parent a6ffa1a82a
commit bf42d20f98
2 changed files with 5 additions and 2 deletions

View file

@ -30,7 +30,7 @@
#include <components/files/linuxpath.hpp> #include <components/files/linuxpath.hpp>
namespace Files { typedef LinuxPath TargetPathType; } namespace Files { typedef LinuxPath TargetPathType; }
#elif defined(__WIN32) || defined(__WINDOWS__) #elif defined(__WIN32) || defined(__WINDOWS__) || defined (_WINDOWS)
#include <components/files/windowspath.hpp> #include <components/files/windowspath.hpp>
namespace Files { typedef WindowsPath TargetPathType; } namespace Files { typedef WindowsPath TargetPathType; }

View file

@ -5,7 +5,10 @@
#include <cstring> #include <cstring>
#include <windows.h> #include <windows.h>
#include <shobj.h> #include <shlobj.h>
#include <Shlwapi.h>
#pragma comment(lib, "Shlwapi.lib")
namespace Files namespace Files
{ {