diff options
Diffstat (limited to 'src/filesystem.c')
-rw-r--r-- | src/filesystem.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/filesystem.c b/src/filesystem.c index 3044e8e..abf40e9 100644 --- a/src/filesystem.c +++ b/src/filesystem.c @@ -326,12 +326,7 @@ lilv_symlink(const char* oldpath, const char* newpath) int ret = 0; if (strcmp(oldpath, newpath)) { #ifdef _WIN32 -#ifdef HAVE_CREATESYMBOLICLINK - ret = !CreateSymbolicLink(newpath, oldpath, 0); -#endif - if (ret) { - ret = !CreateHardLink(newpath, oldpath, 0); - } + ret = !CreateHardLink(newpath, oldpath, 0); #else ret = symlink(oldpath, newpath); #endif |