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

Added missing #ifdef around Windows Specific fixes

This commit is contained in:
Bryan Roe
2019-12-05 10:56:13 -08:00
parent eced5f2233
commit 8356cbf190
3 changed files with 6 additions and 1 deletions

View File

@@ -1628,6 +1628,7 @@ void ILibProcessPipe_Process_UpdateUserObject(ILibProcessPipe_Process module, vo
{
((ILibProcessPipe_Process_Object*)module)->userObject = userObj;
}
#ifdef WIN32
void ILibProcessPipe_Process_RemoveHandlers(ILibProcessPipe_Process module)
{
ILibProcessPipe_Process_Object* j = (ILibProcessPipe_Process_Object*)module;
@@ -1637,6 +1638,7 @@ void ILibProcessPipe_Process_RemoveHandlers(ILibProcessPipe_Process module)
ILibProcessPipe_WaitHandle_Remove(j->parent, j->hProcess);
}
}
#endif
void ILibProcessPipe_Process_AddHandlers(ILibProcessPipe_Process module, int bufferSize, ILibProcessPipe_Process_ExitHandler exitHandler, ILibProcessPipe_Process_OutputHandler stdOut, ILibProcessPipe_Process_OutputHandler stdErr, ILibProcessPipe_Process_SendOKHandler sendOk, void *user)
{
ILibProcessPipe_Process_Object* j = (ILibProcessPipe_Process_Object*)module;