diff options
author | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:53:55 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2015-10-02 14:53:55 +0200 |
commit | 9321c6bdfc559db6cf436d4ea88198983ce59846 (patch) | |
tree | e711c3373711b70b26de188aa4a893ffd30a1754 /zen/symlink_target.h | |
parent | 6.11 (diff) | |
download | FreeFileSync-9321c6bdfc559db6cf436d4ea88198983ce59846.tar.gz FreeFileSync-9321c6bdfc559db6cf436d4ea88198983ce59846.tar.bz2 FreeFileSync-9321c6bdfc559db6cf436d4ea88198983ce59846.zip |
6.12
Diffstat (limited to 'zen/symlink_target.h')
-rw-r--r-- | zen/symlink_target.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/zen/symlink_target.h b/zen/symlink_target.h index 4106ed02..1a7f45bd 100644 --- a/zen/symlink_target.h +++ b/zen/symlink_target.h @@ -1,6 +1,6 @@ // ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * -// * GNU General Public License: http://www.gnu.org/licenses/gpl.html * +// * GNU General Public License: http://www.gnu.org/licenses/gpl-3.0 * // * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved * // ************************************************************************** @@ -11,22 +11,22 @@ #include "file_error.h" #ifdef ZEN_WIN -#include "win.h" //includes "windows.h" -#include "privilege.h" -#include "long_path_prefix.h" -#include "dll.h" + #include "win.h" //includes "windows.h" + #include "privilege.h" + #include "long_path_prefix.h" + #include "dll.h" #elif defined ZEN_LINUX || defined ZEN_MAC -#include <unistd.h> -#include <stdlib.h> //realpath + #include <unistd.h> + #include <stdlib.h> //realpath #endif namespace zen { #ifdef ZEN_WIN -bool isSymlink(const WIN32_FIND_DATA& data); //*not* a simple FILE_ATTRIBUTE_REPARSE_POINT check! -bool isSymlink(DWORD fileAttributes, DWORD reparseTag); + bool isSymlink(const WIN32_FIND_DATA& data); //*not* a simple FILE_ATTRIBUTE_REPARSE_POINT check! + bool isSymlink(DWORD fileAttributes, DWORD reparseTag); #endif Zstring getResolvedFilePath(const Zstring& linkPath); //throw FileError; Win: requires Vista or later! |