… | |
… | |
196 | # define EV_SELECT_IS_WINSOCKET 1 |
196 | # define EV_SELECT_IS_WINSOCKET 1 |
197 | # endif |
197 | # endif |
198 | # undef EV_AVOID_STDIO |
198 | # undef EV_AVOID_STDIO |
199 | #endif |
199 | #endif |
200 | |
200 | |
|
|
201 | /* OS X, in its infinite idiocy, actually HARDCODES |
|
|
202 | * a limit of 1024 into their select. Where people have brains, |
|
|
203 | * OS X engineers apparently have a vacuum. Or maybe they were |
|
|
204 | * ordered to have a vacuum, or they do anything for money. |
|
|
205 | * This might help. Or not. |
|
|
206 | */ |
|
|
207 | #define _DARWIN_UNLIMITED_SELECT 1 |
|
|
208 | |
201 | /* this block tries to deduce configuration from header-defined symbols and defaults */ |
209 | /* this block tries to deduce configuration from header-defined symbols and defaults */ |
202 | |
210 | |
203 | /* try to deduce the maximum number of signals on this platform */ |
211 | /* try to deduce the maximum number of signals on this platform */ |
204 | #if defined (EV_NSIG) |
212 | #if defined (EV_NSIG) |
205 | /* use what's provided */ |
213 | /* use what's provided */ |