summaryrefslogtreecommitdiff
path: root/ACE/ace/TLI.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-01-17 08:30:27 +0100
committerGitHub <noreply@github.com>2023-01-17 08:30:27 +0100
commit016eb1b3caa7b8ba0ff4c479895151eca984c82b (patch)
tree78d01e731985f983d471638727173cde08659d96 /ACE/ace/TLI.cpp
parentcf4d1e0117bd0ff7decb0aa07cfa0c88c95e5aa3 (diff)
parent3f2b66203cbef9985486a6e9ce4ef33feb5cfb20 (diff)
downloadATCD-016eb1b3caa7b8ba0ff4c479895151eca984c82b.tar.gz
Merge pull request #2034 from jwillemsen/jwi-macrocleanup
Cleanup several macros which are not set by any config file
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;
}