summaryrefslogtreecommitdiff
path: root/ACE/ace/TLI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/TLI.cpp')
-rw-r--r--ACE/ace/TLI.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/ACE/ace/TLI.cpp b/ACE/ace/TLI.cpp
index cdfa1db8514..1aeafeeb68a 100644
--- a/ACE/ace/TLI.cpp
+++ b/ACE/ace/TLI.cpp
@@ -156,11 +156,7 @@ ACE_TLI::set_option (int level, int option, void *optval, int optlen)
if (this->so_opt_req.opt.len > this->so_opt_req.opt.maxlen)
{
-# if !defined (ACE_HAS_SET_T_ERRNO)
t_errno = TBUFOVFLW;
-# else
- set_t_errno (TBUFOVFLW);
-# endif /* ACE_HAS_SET_T_ERRNO */
return -1;
}
@@ -235,11 +231,7 @@ ACE_TLI::get_option (int level, int option, void *optval, int &optlen)
if (this->so_opt_ret.opt.len > this->so_opt_ret.opt.maxlen)
{
-#if !defined (ACE_HAS_SET_T_ERRNO)
t_errno = TBUFOVFLW;
-#else
- set_t_errno (TBUFOVFLW);
-#endif /* ACE_HAS_SET_T_ERRNO */
return -1;
}