never use macro defined by configure in an exported header
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Feb 2010 13:11:54 +0000 (13:11 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 23 Feb 2010 13:11:54 +0000 (13:11 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@46387 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/Ecore_Con.h

index 9440a56..31c81ee 100644 (file)
@@ -223,12 +223,10 @@ extern "C" {
    EAPI int               ecore_con_url_send(Ecore_Con_Url *url_con, const void *data, size_t length, const char *content_type);
    EAPI void              ecore_con_url_time(Ecore_Con_Url *url_con, Ecore_Con_Url_Time condition, time_t tm);
 
-#ifdef HAVE_NETDB_H
    EINA_DEPRECATED EAPI int ecore_con_dns_lookup(const char *name,
                                                 void (*done_cb)(void *data, struct hostent *hostent),
                                                 void *data);
    EAPI int              ecore_con_info_get(Ecore_Con_Server *svr, Ecore_Con_Info_Cb done_cb, void *data, struct addrinfo *hints);
-#endif
 
    EAPI int              ecore_con_url_ftp_upload(Ecore_Con_Url *url_con, const char *filename, const char *user, const char *pass, const char *upload_dir);
    EAPI void             ecore_con_url_verbose_set(Ecore_Con_Url *url_con, int verbose);