blob: 06f7a54aef978cef16041f86d4a36687d21344de [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- a/CPP/7zip/Common/FileStreams.h
2+++ b/CPP/7zip/Common/FileStreams.h
3@@ -72,6 +72,7 @@ class COutFileStream:
4 public IOutStream,
5 public CMyUnknownImp
6 {
7+public:
8 #ifdef USE_WIN_FILE
9 NWindows::NFile::NIO::COutFile File;
10 #else
11--- a/CPP/Common/MyWindows.h
12+++ b/CPP/Common/MyWindows.h
13@@ -101,8 +101,11 @@ typedef LONG SCODE;
14
15 #ifdef __cplusplus
16
17+#ifndef INITGUID
18+#define INITGUID
19 DEFINE_GUID(IID_IUnknown,
20 0x00000000, 0x0000, 0x0000, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
21+#endif
22 struct IUnknown
23 {
24 STDMETHOD(QueryInterface) (REFIID iid, void **outObject) PURE;