diff options
Diffstat (limited to 'zen/file_error.h')
-rw-r--r-- | zen/file_error.h | 8 |
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 |