Don't use poll() on Mac OS
Don't use poll() on Mac OS

Congratulations, Apple. Your OS is really great. In some versions (according to
google, it used to work in older releases), poll() can only handle sockets. If
you give it a pipe (as e.g. the shell module does), it will fail with POLLNVAL
which Csocket handles by going into an endless loop.

Signed-off-by: Uli Schlachter <346c0ad49ac8427b61b3b55abbe37dc0ebd524f2@znc.in>

trisk/znc,wolfy1339/znc,trisk/znc,Mkaysi/znc,Zarthus/znc,elyscape/znc,Mikaela/znc,KiNgMaR/znc,DarthGandalf/znc,Zarthus/znc,trisk/znc,aarondunlap/znc,badloop/znc,jpnurmi/znc,ollie27/znc,Adam-/znc,withinsoft/znc,DarthGandalf/znc,Kriechi/znc,trisk/znc,markusj/znc,wolfy1339/znc,TingPing/znc,jpnurmi/znc,psychon/znc,BtbN/znc,psychon/znc,jpnurmi/znc,TuffLuck/znc,wolfy1339/znc,trisk/znc,GLolol/znc,jreese/znc,KiNgMaR/znc,jpnurmi/znc,kashike/znc,withinsoft/znc,BtbN/znc,aarondunlap/znc,Mikaela/znc,reedloden/znc,TuffLuck/znc,elyscape/znc,markusj/znc,badloop/znc,znc/znc,anthonyryan1/znc,badloop/znc,TuffLuck/znc,jreese/znc,kashike/znc,YourBNC/znc,jantman/znc,Phansa/znc,jantman/znc,Mkaysi/znc,aarondunlap/znc,psychon/znc,Mkaysi/znc,DarthGandalf/znc,GLolol/znc,Phansa/znc,anthonyryan1/znc,Phansa/znc,TuffLuck/znc,jreese/znc,markusj/znc,aarondunlap/znc,kashike/znc,DarthGandalf/znc,psychon/znc,kashike/znc,dgw/znc,markusj/znc,kashike/znc,withinsoft/znc,dgw/znc,YourBNC/znc,Adam-/znc,Kriechi/znc,jpnurmi/znc,evilnet/znc,reedloden/znc,Mikaela/znc,psychon/znc,znc/znc,jpnurmi/znc,anthonyryan1/znc,withinsoft/znc,Zarthus/znc,KielBNC/znc,TingPing/znc,YourBNC/znc,Adam-/znc,Adam-/znc,BtbN/znc,elyscape/znc,Hasimir/znc,TuffLuck/znc,Hasimir/znc,Hasimir/znc,Adam-/znc,jreese/znc,KiNgMaR/znc,elyscape/znc,evilnet/znc,ollie27/znc,jpnurmi/znc,TingPing/znc,YourBNC/znc,KielBNC/znc,aarondunlap/znc,anthonyryan1/znc,GLolol/znc,Kriechi/znc,aarondunlap/znc,KielBNC/znc,Mkaysi/znc,Mkaysi/znc,ollie27/znc,dgw/znc,wolfy1339/znc,BtbN/znc,Hasimir/znc,withinsoft/znc,TuffLuck/znc,Mikaela/znc,evilnet/znc,znc/znc,Hasimir/znc,badloop/znc,elyscape/znc,jantman/znc,Adam-/znc,KielBNC/znc,BtbN/znc,evilnet/znc,Hasimir/znc,wolfy1339/znc,Kriechi/nobnc,badloop/znc,ollie27/znc,TingPing/znc,badloop/znc,znc/znc,elyscape/znc,jreese/znc,GLolol/znc,reedloden/znc,Kriechi/nobnc,aarondunlap/znc,markusj/znc,kashike/znc,evilnet/znc,KielBNC/znc,Mikaela/znc,TingPing/znc,Kriechi/znc,znc/znc,GLolol/znc,reedloden/znc,YourBNC/znc,znc/znc,jantman/znc,dgw/znc,BtbN/znc,Kriechi/znc,KiNgMaR/znc,DarthGandalf/znc,jantman/znc,Phansa/znc,anthonyryan1/znc,markusj/znc,psychon/znc,Hasimir/znc,reedloden/znc,Mikaela/znc,Mkaysi/znc,Phansa/znc,Phansa/znc,TingPing/znc,Kriechi/znc,DarthGandalf/znc,Zarthus/znc,trisk/znc,badloop/znc,KiNgMaR/znc,TuffLuck/znc,KiNgMaR/znc,Adam-/znc,anthonyryan1/znc,anthonyryan1/znc,GLolol/znc,evilnet/znc,Kriechi/nobnc,Zarthus/znc,Mikaela/znc,YourBNC/znc,KielBNC/znc,Mkaysi/znc,jreese/znc,wolfy1339/znc,withinsoft/znc,ollie27/znc,jantman/znc,Zarthus/znc,dgw/znc,ollie27/znc,dgw/znc,reedloden/znc