gcconfig.h - Add weak attribute to avoid __data_start undefined messages on dlopen
[mono.git] / mono / utils / mono-poll.c
index c12a8f872345757054aa49147d04df2263df9bb0..f353fc53af4de7011b548af2edfcd3a91d82824b 100644 (file)
@@ -1,7 +1,7 @@
 #include "mono-poll.h"
 #include <errno.h>
 
-#ifdef HAVE_POLL
+#if defined(HAVE_POLL) && !defined(__APPLE__)
 int
 mono_poll (mono_pollfd *ufds, unsigned int nfds, int timeout)
 {