From 59ceb432f310de9f26b368ae1b8cdee395e52a50 Mon Sep 17 00:00:00 2001 From: Jacques Germishuys Date: Sat, 5 Jul 2014 21:27:47 +0200 Subject: [PATCH] Define IO_REPARSE_TAG_SYMLINK if its not defined by WinNT.h --- src/win32/posix_w32.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c index fb8246558..a74fcaad1 100644 --- a/src/win32/posix_w32.c +++ b/src/win32/posix_w32.c @@ -19,6 +19,10 @@ # define FILE_NAME_NORMALIZED 0 #endif +#ifndef IO_REPARSE_TAG_SYMLINK +#define IO_REPARSE_TAG_SYMLINK (0xA000000CL) +#endif + /* Options which we always provide to _wopen. * * _O_BINARY - Raw access; no translation of CR or LF characters