replaced the BIND guess (based on BSDishness) with checks for gethostbyname and setho...
[mmh] / mts / sendmail / hosts.c
index 7d1d808..0bc7532 100644 (file)
@@ -47,7 +47,7 @@ OfficialName (char *name)
     if (!strcasecmp (LocalName(), site))
        return LocalName();
 
-#ifndef        BIND
+#ifdef HAVE_SETHOSTENT
     sethostent (1);
 #endif