windows-compitable 수정
This commit is contained in:
@@ -33,7 +33,7 @@ int main() {
|
||||
sock.listen(SOMAXCONN);
|
||||
|
||||
#ifdef _WIN32
|
||||
DWORD pid = GetCurrentProcessPid();
|
||||
DWORD pid = GetCurrentProcessId();
|
||||
#elif __linux__
|
||||
pid_t pid = getpid();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user