summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/lzma/CPP/Windows/ErrorMsg.h
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/lzma/CPP/Windows/ErrorMsg.h')
-rw-r--r--3rdparty/lzma/CPP/Windows/ErrorMsg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/3rdparty/lzma/CPP/Windows/ErrorMsg.h b/3rdparty/lzma/CPP/Windows/ErrorMsg.h
index 0957c696ad1..6142b4ebe64 100644
--- a/3rdparty/lzma/CPP/Windows/ErrorMsg.h
+++ b/3rdparty/lzma/CPP/Windows/ErrorMsg.h
@@ -1,7 +1,7 @@
// Windows/ErrorMsg.h
-#ifndef __WINDOWS_ERROR_MSG_H
-#define __WINDOWS_ERROR_MSG_H
+#ifndef ZIP7_INC_WINDOWS_ERROR_MSG_H
+#define ZIP7_INC_WINDOWS_ERROR_MSG_H
#include "../Common/MyString.h"
@@ -9,6 +9,7 @@ namespace NWindows {
namespace NError {
UString MyFormatMessage(DWORD errorCode);
+inline UString MyFormatMessage(HRESULT errorCode) { return MyFormatMessage((DWORD)errorCode); }
}}