소스 검색

Disable functions missing in MinGW

Adam Ierymenko 5 년 전
부모
커밋
e7ccd74a9e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      core/Utils.hpp

+ 2 - 2
core/Utils.hpp

@@ -103,7 +103,7 @@ extern const uint64_t s_mapNonce;
 static ZT_INLINE void memoryLock(const void *const p, const unsigned int l) noexcept
 {
 #ifdef __WINDOWS__
-	VirtualLock(p, l);
+	//VirtualLock(p, l);
 #else
 	mlock(p, l);
 #endif
@@ -118,7 +118,7 @@ static ZT_INLINE void memoryLock(const void *const p, const unsigned int l) noex
 static ZT_INLINE void memoryUnlock(const void *const p, const unsigned int l) noexcept
 {
 #ifdef __WINDOWS__
-	VirtualUnlock(p, l);
+	//VirtualUnlock(p, l);
 #else
 	munlock(p, l);
 #endif