mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Merge branch 'Lastique-fix_mingw_compile_error' into develop
This commit is contained in:
@@ -716,14 +716,14 @@ class interprocess_all_access_security
|
||||
interprocess_all_access_security()
|
||||
: initialized(false)
|
||||
{
|
||||
if(!InitializeSecurityDescriptor(&sd, security_descriptor_revision))
|
||||
if(!boost::winapi::InitializeSecurityDescriptor(&sd, security_descriptor_revision))
|
||||
return;
|
||||
if(!::SetSecurityDescriptorDacl(&sd, true, 0, false))
|
||||
if(!boost::winapi::SetSecurityDescriptorDacl(&sd, true, 0, false))
|
||||
return;
|
||||
sa.lpSecurityDescriptor = &sd;
|
||||
sa.nLength = sizeof(interprocess_security_attributes);
|
||||
sa.bInheritHandle = false;
|
||||
initialized = false;
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
interprocess_security_attributes *get_attributes()
|
||||
|
||||
Reference in New Issue
Block a user