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/sys_error.h | |
parent | 6.11 (diff) | |
download | FreeFileSync-9321c6bdfc559db6cf436d4ea88198983ce59846.tar.gz FreeFileSync-9321c6bdfc559db6cf436d4ea88198983ce59846.tar.bz2 FreeFileSync-9321c6bdfc559db6cf436d4ea88198983ce59846.zip |
6.12
Diffstat (limited to 'zen/sys_error.h')
-rw-r--r-- | zen/sys_error.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zen/sys_error.h b/zen/sys_error.h index 9cfc762f..9f7667db 100644 --- a/zen/sys_error.h +++ b/zen/sys_error.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 * // ************************************************************************** @@ -13,11 +13,11 @@ #include "scope_guard.h" #ifdef ZEN_WIN -#include "win.h" //includes "windows.h" + #include "win.h" //includes "windows.h" #elif defined ZEN_LINUX || defined ZEN_MAC -#include <cstring> -#include <cerrno> + #include <cstring> + #include <cerrno> #endif @@ -25,11 +25,11 @@ namespace zen { //evaluate GetLastError()/errno and assemble specific error message #ifdef ZEN_WIN -typedef DWORD ErrorCode; + typedef DWORD ErrorCode; #elif defined ZEN_LINUX || defined ZEN_MAC -typedef int ErrorCode; + typedef int ErrorCode; #else -#error define a platform! + #error define a platform! #endif ErrorCode getLastError(); |