A. J. Mechelynck did utter on 30/11/2005 08:29:
> Bill McCarthy wrote:
>>On Tue 29-Nov-05 5:26pm -0600, A. J. Mechelynck wrote:
>>>I am compiling Vim using Cygwin on Win XP Home and it gives me no
>>>problems. I remember though, that _all_ other patch programs I tried
>>>used to reject the Vim patches.
>>Thanks, but the patch program, although my copy doesn't let
>>me mix unix and dos style between patch and source, is not
>>The problem is that lstat, hidden behind the macro
>>mch_lstat, is not defined.
> Well... maybe a difference between Cygwin gcc (including MinGW for
> Cygwin) on the one hand, and MinGW gcc and MSVC on the other hand?
> Let's hope Bram (or someone) finds how to add the necessary #if to
> resolve the incompatibility.
> In the meantime you can use my binaries, they run on "native" Windows
> without relying on Cygwin.
Calls to mch_lstat are only done for UNIX builds it seems. The attached
diff allows the patch to compile with msvc.
Why do you never see Cupid with a girlfriend?