[PATCH 2/5] Link against libdnsapi to avoid undefined reference
Mon Mar 21 20:34:00 GMT 2016
On Mar 21 16:19, Peter Foley wrote:
> On Mon, Mar 21, 2016 at 3:52 PM, Corinna Vinschen
> <email@example.com> wrote:
> > While you're at it, ideally we make ourselves independent of the MingW
> > header version and use DnsFree directly, replacing DnsRecordListFree
> > in autoload.cc and libc/minires-os-if.c, no?
> Hmm, it isn't immediately obvious as to the meaning of the 2nd (n)
> parameter to LoadDLLfunc()
> How would I go about finding the correct value for the DnsFree function?
> Function documentation is at
Number of arguments multiplied by 4. That's just for the 32 bit
WINAPI. LoadDLLfunc (DnsFree, 8, dnsapi) should do it.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Cygwin-patches