From 97853e07dee08911f9a08074d185aef8a03a8912 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 23 Feb 2011 17:04:14 -0800 Subject: [PATCH] Use default backend for __sun (event ports) --- src/node.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/node.cc b/src/node.cc index 884c4a41c4a..5f25cf2fb87 100644 --- a/src/node.cc +++ b/src/node.cc @@ -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);