mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
Fixed bug where if WatchDog is specified on Linux, a compile error happens because of a typo
This commit is contained in:
@@ -2782,7 +2782,7 @@ ILibExportMethod void ILibStartChain(void *Chain)
|
||||
#else
|
||||
if (pipe(chain->WatchDogTerminator) == 0)
|
||||
{
|
||||
flags = fcntl(chain->WatchDogTerminator[0], F_GETFL, 0);
|
||||
int flags = fcntl(chain->WatchDogTerminator[0], F_GETFL, 0);
|
||||
fcntl(chain->WatchDogTerminator[0], F_SETFL, O_NONBLOCK | flags);
|
||||
#ifndef _NOILIBSTACKDEBUG
|
||||
signal(SIGUSR1, ILib_POSIX_CrashHandler);
|
||||
|
||||
Reference in New Issue
Block a user