From 186364e24f5c6ddc22cb95c4775422730993e0cc Mon Sep 17 00:00:00 2001 From: Peter Bright Date: Sat, 27 Aug 2011 02:34:09 +0100 Subject: [PATCH] Don't load-time link against CreateSymbolicLink, it doesn't exist on Windows Server 2003. Fixes #1592. --- deps/uv/src/eio/eio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/uv/src/eio/eio.c b/deps/uv/src/eio/eio.c index 280feec09e6..8fd2711526e 100644 --- a/deps/uv/src/eio/eio.c +++ b/deps/uv/src/eio/eio.c @@ -180,8 +180,8 @@ static void eio_destroy (eio_req *req); static int symlink (const char *old, const char *neu) { - #if WINVER >= 0x0600 - if (CreateSymbolicLink (neu, old, 1)) + #if 0 && WINVER >= 0x0600 + if (CreateSymbolicLink (neu, old, SYMBOLIC_LINK_FLAG_DIRECTORY)) return 0; if (CreateSymbolicLink (neu, old, 0))