Subject: Re: without windns.h,warnings in wince

Re: without windns.h,warnings in wince

From: Daniel Stenberg <daniel_at_haxx.se>
Date: 2005-04-26

On Tue, 26 Apr 2005, julien thai wrote:

> So i think to pass the error, it should to replace _strdup for strdup.

You should then make a #define strdup(x) _strdup(x) in setup.h (that only is
done if built for wince).

> What do you think? Tell me more about your idea of windns.h for wince,
> the role of windns in c-ares library?

The same role all other headers do: provide prototypes, defines and
declarations.

If you can build without a header, you don't need it. But make sure you make
your changes ifdef'ed wince...

-- 
   c-ares -- my preferred DNS asynch resolver library
_______________________________________________
http://cool.haxx.se/mailman/listinfo/c-ares
Received on Tue Apr 26 14:57:51 2005