Tighter guard for POLLRDHUP
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 9 Jun 2015 12:02:18 +0000 (13:02 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 9 Jun 2015 12:02:18 +0000 (13:02 +0100)
src/src/acl.c

index dae3101..5a5abae 100644 (file)
@@ -3494,7 +3494,7 @@ for (; cb != NULL; cb = cb->next)
           if (smtp_out != NULL && !disable_delay_flush)
            mac_smtp_fflush();
 
-#if !defined(NO_POLL_H) && defined (_GNU_SOURCE)
+#if !defined(NO_POLL_H) && defined (POLLRDHUP)
            {
            struct pollfd p;
            nfds_t n = 0;