diff options
Diffstat (limited to 'zen/symlink_target.h')
-rw-r--r-- | zen/symlink_target.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zen/symlink_target.h b/zen/symlink_target.h index bfd9e038..e3e2ac4d 100644 --- a/zen/symlink_target.h +++ b/zen/symlink_target.h @@ -12,7 +12,7 @@ #ifdef ZEN_WIN #include "win.h" //includes "windows.h" -#include "WinIoCtl.h" +//#include <WinIoCtl.h> #include "privilege.h" #include "long_path_prefix.h" #include "dll.h" @@ -43,7 +43,8 @@ Zstring getSymlinkTargetRaw(const Zstring& linkPath); //throw FileError //################################ implementation ################################ -#ifdef _MSC_VER //I don't have Windows Driver Kit at hands right now, so unfortunately we need to redefine this structures and cross fingers... +#ifdef ZEN_WIN +//I don't have Windows Driver Kit at hands right now, so unfortunately we need to redefine this structure and cross fingers... typedef struct _REPARSE_DATA_BUFFER //from ntifs.h { ULONG ReparseTag; @@ -77,7 +78,6 @@ typedef struct _REPARSE_DATA_BUFFER //from ntifs.h #define REPARSE_DATA_BUFFER_HEADER_SIZE FIELD_OFFSET(REPARSE_DATA_BUFFER, GenericReparseBuffer) #endif - namespace { //retrieve raw target data of symlink or junction |