On Mon, 10 Dec 2007, Gisle Vanem wrote:
> Before adding it to cvs, I would be happy if someone could try it on Unix
> and a big-endian machine. I've only tested it on Win32. Attached.
Worked nicely on my linux box after this patch:
--- acountry.c.org 2007-12-10 22:43:17.000000000 +0100
+++ acountry.c 2007-12-10 22:43:59.000000000 +0100
@@ -35,6 +35,7 @@
#else
#include <arpa/inet.h>
#include <netdb.h>
+#define stricmp(x,z) strcasecmp(x,z)
#endif
#include "ares.h"
(I don't have access to any big-endian unix atm.)
Oh, and a little request about the actual utility! Since c-ares can resolve
host names, acountry would be even nicer if it was made to also accept host
names! ;-)
-- c-ares -- my preferred DNS asynch resolver libraryReceived on 2007-12-10