Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/MemoryLock.cpp')
-rwxr-xr-xCPP/Windows/MemoryLock.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/CPP/Windows/MemoryLock.cpp b/CPP/Windows/MemoryLock.cpp
index 284c832c..e0f43099 100755
--- a/CPP/Windows/MemoryLock.cpp
+++ b/CPP/Windows/MemoryLock.cpp
@@ -5,6 +5,8 @@
namespace NWindows {
namespace NSecurity {
+#ifndef UNDER_CE
+
#ifndef _UNICODE
typedef BOOL (WINAPI * OpenProcessTokenP)(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE TokenHandle);
typedef BOOL (WINAPI * LookupPrivilegeValueP)(LPCTSTR lpSystemName, LPCTSTR lpName, PLUID lpLuid);
@@ -75,4 +77,6 @@ bool EnableLockMemoryPrivilege(bool enable)
}
#endif
+#endif
+
}}