summaryrefslogtreecommitdiff
path: root/ACE/ace/TLI.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-01-16 18:49:33 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-01-16 18:49:33 +0100
commit3f2b66203cbef9985486a6e9ce4ef33feb5cfb20 (patch)
tree6420a856157011b8966840b9d67315ddbbe5bed3 /ACE/ace/TLI.cpp
parent5182f2ef12f8ab7bdb298a2e5f19087cb67c056c (diff)
downloadATCD-3f2b66203cbef9985486a6e9ce4ef33feb5cfb20.tar.gz
Cleanup several macros which are not set by any config file
* ACE/ace/OS_NS_Thread.cpp: * ACE/ace/OS_NS_dirent.inl: * ACE/ace/OS_NS_sys_stat.inl: * ACE/ace/OS_NS_time.cpp: * ACE/ace/OS_NS_time.h: * ACE/ace/OS_NS_time.inl: * ACE/ace/OS_NS_unistd.inl: * ACE/ace/README: * ACE/ace/TLI.cpp: * ACE/ace/os_include/os_stropts.h: * ACE/ace/os_include/sys/os_mman.h:
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;
}