mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-29 14:17:07 -06:00
Bazaar/Protect : bugfix for MSC
git-svn-id: svn://ultimatepp.org/upp/trunk@2719 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
91a08fa1cd
commit
dd16310555
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ bool PROTECT_WRITE_ACCESS(byte *start, size_t size, bool access)
|
|||
}
|
||||
#else
|
||||
|
||||
static bool PROTECT_WRITE_ACCESS(byte *start, size_t size, bool access)
|
||||
bool PROTECT_WRITE_ACCESS(byte *start, size_t size, bool access)
|
||||
{
|
||||
dword oldProt;
|
||||
bool res = VirtualProtect(start, size, access ? PAGE_EXECUTE_READWRITE : PAGE_EXECUTE_READ, &oldProt);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue