summaryrefslogtreecommitdiff
path: root/zen/file_error.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2016-03-16 21:31:24 +0100
committerDaniel Wilhelm <daniel@wili.li>2016-03-16 21:31:24 +0100
commit89621addb4a7c87d2e3f3e7462e3c690cf71de71 (patch)
tree008b5dea7624ee1eeb57ff82c45fdf1afcab3b08 /zen/file_error.h
parent7.5 (diff)
downloadFreeFileSync-89621addb4a7c87d2e3f3e7462e3c690cf71de71.tar.gz
FreeFileSync-89621addb4a7c87d2e3f3e7462e3c690cf71de71.tar.bz2
FreeFileSync-89621addb4a7c87d2e3f3e7462e3c690cf71de71.zip
7.6
Diffstat (limited to 'zen/file_error.h')
-rw-r--r--zen/file_error.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/zen/file_error.h b/zen/file_error.h
index 7be52282..f41a878a 100644
--- a/zen/file_error.h
+++ b/zen/file_error.h
@@ -4,8 +4,8 @@
// * Copyright (C) Zenju (zenju AT gmx DOT de) - All Rights Reserved *
// **************************************************************************
-#ifndef FILEERROR_H_INCLUDED_839567308565656789
-#define FILEERROR_H_INCLUDED_839567308565656789
+#ifndef FILE_ERROR_H_839567308565656789
+#define FILE_ERROR_H_839567308565656789
#include <string>
#include "zstring.h"
@@ -49,7 +49,7 @@ DEFINE_NEW_FILE_ERROR(ErrorDifferentVolume);
__pragma(warning(suppress: 4127)) /*"conditional expression is constant"*/ \
} while (false)
-#else //variant witout "__pragma":
+#else //same thing witout "__pragma":
#define THROW_LAST_FILE_ERROR(msg, functionName) \
do { const ErrorCode ecInternal = getLastError(); throw FileError(msg, formatSystemError(functionName, ecInternal)); } while (false)
#endif
@@ -66,4 +66,4 @@ inline std::wstring fmtPath(const Zstring& displayPath) { return fmtPath(utfCvrt
inline std::wstring fmtPath(const wchar_t* displayPath) { return fmtPath(std::wstring(displayPath)); }
}
-#endif //FILEERROR_H_INCLUDED_839567308565656789
+#endif //FILE_ERROR_H_839567308565656789
bgstack15