From f132c28d7f50f16f0d1fe5c93a68eb17ba6d55ac Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Wed, 11 Apr 2001 16:10:30 +0000 Subject: Check if gethostbyname_r take five params 2001-04-11 JP Rosevear * configure.in: Check if gethostbyname_r take five params * acconfig.h: add GETHOSTBYNAME_R_FIVE_ARGS 2001-04-11 JP Rosevear * providers/imap/Makefile.am: user GNOME_INCLUDEDIR since gnome files are included in the top level camel headers and the gtk include dir is now versioned and such * providers/local/Makefile.am: ditto * providers/pop3/Makefile.am: ditto * providers/smtp/Makefile.am: ditto * providers/sendmail/Makefile.am: ditto * camel-service.c: use five arg version of gethostbyname_r if appropriate (camel_get_host_byname): check if msg->herr is non-zero instead of checking if msg->hp is null since we may not always have msg->hp svn path=/trunk/; revision=9239 --- acconfig.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'acconfig.h') diff --git a/acconfig.h b/acconfig.h index 763e90d95a..1bb33c8042 100644 --- a/acconfig.h +++ b/acconfig.h @@ -27,3 +27,6 @@ /* Define if ctime_r takes three arguments */ #undef CTIME_R_THREE_ARGS + +/* Define if gethostbyname_r takes five arguments */ +#undef GETHOSTBYNAME_R_FIVE_ARGS -- cgit