Fixed some compilation errors on windows.

Note that it works on my computer, but it *might* not work on older versions
of windows.
actorid
gugus 13 years ago
parent a6ffa1a82a
commit bf42d20f98

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

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

Loading…
Cancel
Save