X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=run-command.h;h=5203a9ebb10b14bd06862abafed0ab73d7514a3d;hb=847d10f56d7853cd0e139a7c2e6ad0ad2de5c464;hp=debe3074b5a01fb5a19e61f07ff66c250cdc4f82;hpb=16007f3916b885d29de6c48832aa6a4213ab7588;p=git.git diff --git a/run-command.h b/run-command.h index debe3074b..5203a9ebb 100644 --- a/run-command.h +++ b/run-command.h @@ -76,7 +76,12 @@ struct async { int (*proc)(int fd, void *data); void *data; int out; /* caller reads from here and closes it */ +#ifndef __MINGW32__ pid_t pid; +#else + HANDLE tid; + int fd_for_proc; +#endif }; int start_async(struct async *async);