summaryrefslogtreecommitdiff
path: root/ace/Select_Reactor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Select_Reactor.cpp')
-rw-r--r--ace/Select_Reactor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ace/Select_Reactor.cpp b/ace/Select_Reactor.cpp
index 80481ec560c..9df2d53c871 100644
--- a/ace/Select_Reactor.cpp
+++ b/ace/Select_Reactor.cpp
@@ -112,13 +112,11 @@ ACE_Select_Reactor_Handler_Repository::open (size_t size)
errno = ERANGE;
return -1;
}
-#if defined (RLIMIT_NOFILE) && !defined (ACE_LACKS_RLIMIT)
// Increase the number of handles if <size> is greater than the
// current limit.
if (size < (size_t) ACE::max_handles ())
return ACE::set_handle_limit (size);
else
-#endif /* defined (RLIMIT_NOFILE) && !defined (ACE_LACKS_RLIMIT) */
return 0;
}