at91: enable 6.6 testing kernel
[openwrt/staging/pepe2k.git] / tools / lzma / patches / 003-compile_fixes.patch
1 --- 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;