1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-15 15:53:55 +00:00

Added missing #ifdef

This commit is contained in:
Bryan Roe
2019-10-31 10:59:46 -07:00
parent dd095e5264
commit bac3533d29

View File

@@ -1131,7 +1131,7 @@ void ILibProcessPipe_Process_ReadHandler(void* user)
if (pipeObject->buffer == NULL) { ILIBCRITICALEXIT(254); }
pipeObject->bufferSize = pipeObject->bufferSize * 2;
}
#ifdef WIN32
if (pipeObject->PAUSED == 0)
{
if (ReadFile(pipeObject->mPipe_ReadEnd, pipeObject->buffer + pipeObject->readOffset + pipeObject->totalRead, pipeObject->bufferSize - pipeObject->totalRead, NULL, pipeObject->mOverlapped) != TRUE)
@@ -1139,6 +1139,7 @@ void ILibProcessPipe_Process_ReadHandler(void* user)
break;
}
}
#endif
}
#ifdef WIN32
while (pipeObject->PAUSED == 0); // Note: This is actually the end of a do-while loop