From: Ramsay Jones Date: Tue, 07 Dec 2010 22:54:54 GMT Subject: Re: [PATCH 01/14] msvc: Fix compilation errors in compat/win32/sys/poll.c Message-ID: <4CFEBB3E.2060401@ramsay1.demon.co.uk> In-Reply-To: <20101204204541.GA3170@burratino> Jonathan Nieder wrote: > Could it make sense to define this at the same time as _GNU_SOURCE et > al? > > #define _ALL_SOURCE 1 > #define _GNU_SOURCE 1 > #define _BSD_SOURCE 1 > #define _NETBSD_SOURCE 1 > #define _SGI_SOURCE 1 > #define _WIN32_WINNT 0x0502 > > Haven't thought carefully about the consequences, though; your patch > is probably safer. [Sorry for the late reply, I've been away from email for several days] This would not fix the compilation errors, since compat/win32/sys/poll.c does not include the git-compat-util.h header file (and I *don't* think it should). ;-) ATB, Ramsay Jones