summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-11-16 14:06:55 +0100
committerDavid Robillard <d@drobilla.net>2016-03-16 22:54:19 -0400
commite1c2cf574732c52c4df791274f67381458f5e699 (patch)
treea31a98cdffbfad3ab7541b25e79beb24392b7221 /src
parent9edf72a81bc77483963ede0045f88e8daf98a7b2 (diff)
downloadlilv-e1c2cf574732c52c4df791274f67381458f5e699.tar.gz
lilv-e1c2cf574732c52c4df791274f67381458f5e699.tar.bz2
lilv-e1c2cf574732c52c4df791274f67381458f5e699.zip
Always look up CreateSymbolicLink on Windows
Diffstat (limited to 'src')
-rw-r--r--src/util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c
index d51e82d..a0127f5 100644
--- a/src/util.c
+++ b/src/util.c
@@ -35,7 +35,6 @@
# include <io.h>
# define F_OK 0
# define mkdir(path, flags) _mkdir(path)
-# if (defined(_MSC_VER) && (_MSC_VER < 1500))
/** Implement 'CreateSymbolicLink()' for MSVC 8 or earlier */
BOOLEAN WINAPI
CreateSymbolicLink(LPCTSTR linkpath, LPCTSTR targetpath, DWORD flags)
@@ -46,7 +45,6 @@ CreateSymbolicLink(LPCTSTR linkpath, LPCTSTR targetpath, DWORD flags)
"CreateSymbolicLinkA");
return pfn ? pfn(linkpath, targetpath, flags) : 0;
}
-# endif /* _MSC_VER < 1500 */
#else
# include <dirent.h>
# include <limits.h>