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 dae31011784ce69379907b0b5356e6962f1f7826..5a5abaebf1ba59e47079f0e61acee11f0388dcd4 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;