> -----Original Message-----
> From: c-ares-bounces_at_cool.haxx.se [mailto:c-ares-bounces_at_cool.haxx.se]
On
> Behalf Of Brad House
> Sent: Tuesday, March 10, 2009 2:07 PM
> To: c-ares hacking
> Subject: Re: Wireshark looking at Win64
>
> That said, we don't use c-ares's build system, we
> just
> compile it directly into our code, so if your question is build system
> related, no clue, shouldn't be hard to get it to work though if it
doesn't
> already.
>
> -Brad
Speaking of build issues... I was trying to build c-ares statically
using dietlibc the other day and it was failing due to u_long in
acountry.c not being a valid typedef. Replacing it with a plain old
unsigned long resolved the matter.
See: http://www.fefe.de/dietlibc/FAQ.txt (search for "u_long")
Regards,
Japheth Cleaver
jcleaver_at_soe.sony.com
--- acountry.c.orig 2009-03-06 16:25:07.000000000 -0800
+++ acountry.c 2009-03-06 16:25:27.000000000 -0800
@@ -547,7 +547,7 @@
const struct search_list *country;
char ccode_A2[3], *ccopy, *dot_4;
int cnumber, z0, z1, ver_1, ver_2;
- u_long ip;
+ unsigned long ip;
ip = ntohl(addr.s_addr);
z0 = tolower(cname[0]);
Received on 2009-03-10