Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Don't load-time link against CreateSymbolicLink, it doesn't exist on …
Browse files Browse the repository at this point in the history
…Windows Server 2003.

Fixes #1592.
  • Loading branch information
DrPizza authored and ry committed Aug 27, 2011
1 parent 779c93c commit 186364e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deps/uv/src/eio/eio.c
Expand Up @@ -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))
Expand Down

0 comments on commit 186364e

Please sign in to comment.