mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Use default backend for __sun (event ports)
This commit is contained in:
1 parent
594642b31d
commit
97853e07de
1 file changed
+1
-5
+1
-5
@@ -2277,11 +2277,7 @@ int Start(int argc, char *argv[]) {
|
||||
#endif // __MINGW32__
|
||||
|
||||
// Initialize the default ev loop.
|
||||
#if defined(__sun)
|
||||
// TODO(Ryan) I'm experiencing abnormally high load using Solaris's
|
||||
// EVBACKEND_PORT. Temporarally forcing poll().
|
||||
ev_default_loop(EVBACKEND_POLL);
|
||||
#elif defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
|
||||
#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060
|
||||
ev_default_loop(EVBACKEND_KQUEUE);
|
||||
#else
|
||||
ev_default_loop(EVFLAG_AUTO);
|
||||
|
||||
Reference in new issue
Block a user