diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2014-07-05 21:27:47 +0200 |
---|---|---|
committer | Jacques Germishuys <jacquesg@striata.com> | 2014-07-06 09:22:25 +0200 |
commit | 59ceb432f310de9f26b368ae1b8cdee395e52a50 (patch) | |
tree | a776dd892718118cddaceb3ea5b32ad9741ff160 | |
parent | 72090514b14ef5d11828c960a905fe07ce68ae88 (diff) | |
download | libgit2-59ceb432f310de9f26b368ae1b8cdee395e52a50.tar.gz |
Define IO_REPARSE_TAG_SYMLINK if its not defined by WinNT.h
-rw-r--r-- | src/win32/posix_w32.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |