]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/windows/utils.cpp
Add missing includes for Windows platform
[libs/core.git] / source / fs / windows / utils.cpp
index ca9e7aa0f11f333f6710b93f48c1f86b3e62e7f9..f38d1921146686f4f3db2296e9b37b905ca8d2aa 100644 (file)
@@ -1,4 +1,5 @@
 #include <windows.h>
+#include <msp/core/except.h>
 #include <msp/core/systemerror.h>
 #include "dir.h"
 #include "utils.h"
@@ -11,7 +12,7 @@ namespace FS {
 Path readlink(const Path &link)
 {
        (void)link;
-       throw logic_error("no symbolic links on win32");
+       throw unsupported("readlink");
 }
 
 Path realpath(const Path &path)