diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:23:19 +0200 |
commit | 0887aee8c54d0ed51bb2031431e2bcdafebb4c6e (patch) | |
tree | 69537ceb9787bb25ac363cc4e6cdaf0804d78363 /zen/symlink_target.h | |
parent | 5.12 (diff) | |
download | FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.gz FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.tar.bz2 FreeFileSync-0887aee8c54d0ed51bb2031431e2bcdafebb4c6e.zip |
5.13
Diffstat (limited to 'zen/symlink_target.h')
-rw-r--r-- | zen/symlink_target.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/zen/symlink_target.h b/zen/symlink_target.h index 1a616559..95aa84fb 100644 --- a/zen/symlink_target.h +++ b/zen/symlink_target.h @@ -16,7 +16,7 @@ #include "privilege.h" #include "long_path_prefix.h" -#elif defined FFS_LINUX +#elif defined FFS_LINUX || defined FFS_MAC #include <unistd.h> #endif @@ -39,14 +39,6 @@ Zstring getSymlinkRawTargetString(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... typedef struct _REPARSE_DATA_BUFFER //from ntifs.h @@ -145,7 +137,7 @@ Zstring getSymlinkRawTargetString_impl(const Zstring& linkPath) //throw FileErro return output; -#elif defined FFS_LINUX +#elif defined FFS_LINUX || defined FFS_MAC const int BUFFER_SIZE = 10000; std::vector<char> buffer(BUFFER_SIZE); |