diff options
Diffstat (limited to '3rdparty/lzma/CPP/Windows/FileMapping.h')
-rw-r--r-- | 3rdparty/lzma/CPP/Windows/FileMapping.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/3rdparty/lzma/CPP/Windows/FileMapping.h b/3rdparty/lzma/CPP/Windows/FileMapping.h index 3f0ebd74cc6..f90c429f1d7 100644 --- a/3rdparty/lzma/CPP/Windows/FileMapping.h +++ b/3rdparty/lzma/CPP/Windows/FileMapping.h @@ -3,7 +3,7 @@ #ifndef __WINDOWS_FILEMAPPING_H #define __WINDOWS_FILEMAPPING_H -#include "Common/Types.h" +#include "../Common/MyTypes.h" #include "Handle.h" @@ -18,7 +18,11 @@ public: return ::GetLastError(); } - WRes Open(DWORD desiredAccess, LPCTSTR name) + WRes Open(DWORD + #ifndef UNDER_CE + desiredAccess + #endif + , LPCTSTR name) { #ifdef UNDER_CE WRes res = Create(PAGE_READONLY, 0, name); |