curl-users
Re: Win32 version of curl
From: Dave M <DaveM_at_mich.com>
Date: Wed, 02 Nov 2005 22:13:34 -0500
Date: Wed, 02 Nov 2005 22:13:34 -0500
At 01:41 PM 11/2/2005 , Daniel Stenberg wrote:
>It is provided by winmm.lib to be exact.
OK, Now it compiles. But it doesnt get very far. Blows up the first time it
encounters OUTCHAR(*f) in the dprintf_formatf() function in mprintf.c. I
dont think it likes:
#define OUTCHAR(x) \
do{ \
if(stream((unsigned char)(x), (FILE *)data) != -1) \
done++; \
else \
return done; /* return immediately on failure */ \
} while(0)
Why is this a define and not a function?
-------------------------------
Dave M
Davem (at) Mich (dot) Com
Ann Arbor, Mich. USA
Endangered electronic species: http://www.eff.org/endangered/list.php
Received on 2005-11-03