Re: [PATCH v2] Support non-WIN32 system lacking poll() while keeping the WIN32 part intact
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2012, 19:46 UTC
- Message-ID
- <7vboi0yswz.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <005401cd822a$67687a30$36396e90$@schmitz-digital.de>
"Joachim Schmitz" <jojo@schmitz-digital.de> writes:
> Different, but related question: would poll.[ch] be allowed to #include "git-compat-util.h"?
Seeing other existing generic wrappers directly under compat/, e.g. fopen.c, mkdtemp.c, doing so, I would say why not.
Windows folks (I see Erik is already CC'ed, which is good ;-), please work with Joachim to make sure such a move won't break your builds. I believe that it should just be the matter of updating a couple of paths in the top-level Makefile.
Thanks.