Browse Source

Don't load-time link against CreateSymbolicLink, it doesn't exist on Windows Server 2003.

Fixes #1592.
Peter Bright 14 years ago
committed by Ryan Dahl
parent
commit
186364e24f
  1. 4
      deps/uv/src/eio/eio.c

4
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))

Loading…
Cancel
Save