mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
Update Controller.cpp
兼容clang编译
This commit is contained in:
@@ -30,7 +30,7 @@ asst::Controller::Controller()
|
||||
|
||||
#ifdef _WIN32
|
||||
// 安全属性描述符
|
||||
m_pipe_sec_attr.nLength = sizeof SECURITY_ATTRIBUTES;
|
||||
m_pipe_sec_attr.nLength = sizeof(SECURITY_ATTRIBUTES);
|
||||
m_pipe_sec_attr.lpSecurityDescriptor = nullptr;
|
||||
m_pipe_sec_attr.bInheritHandle = TRUE;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user