X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=run-command.h;h=5203a9ebb10b14bd06862abafed0ab73d7514a3d;hb=5521883490e85f4d973141972cf16f89a79f1979;hp=debe3074b5a01fb5a19e61f07ff66c250cdc4f82;hpb=77599cc0bbd0a08defc3bfa80ca52d931d8dc786;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);