diff options
Diffstat (limited to 'ace/OS_Errno.inl')
-rw-r--r-- | ace/OS_Errno.inl | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/ace/OS_Errno.inl b/ace/OS_Errno.inl deleted file mode 100644 index 2fe5e6c54e2..00000000000 --- a/ace/OS_Errno.inl +++ /dev/null @@ -1,67 +0,0 @@ -// -*- C++ -*- -// -// $Id$ - -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - -ACE_INLINE -ACE_Errno_Guard::ACE_Errno_Guard (ACE_ERRNO_TYPE &errno_ref, - int error) - : -#if defined (ACE_MT_SAFE) - errno_ptr_ (&errno_ref), -#endif /* ACE_MT_SAFE */ - error_ (error) -{ -#if !defined(ACE_MT_SAFE) - ACE_UNUSED_ARG (errno_ref); -#endif /* ACE_MT_SAFE */ -} - -ACE_INLINE -ACE_Errno_Guard::ACE_Errno_Guard (ACE_ERRNO_TYPE &errno_ref) - : -#if defined (ACE_MT_SAFE) - errno_ptr_ (&errno_ref), -#endif /* ACE_MT_SAFE */ - error_ (errno_ref) -{ -} - -ACE_INLINE -ACE_Errno_Guard::~ACE_Errno_Guard (void) -{ -#if defined (ACE_MT_SAFE) - *errno_ptr_ = this->error_; -#else - errno = this->error_; -#endif /* ACE_MT_SAFE */ -} - -#if defined (ACE_HAS_WINCE_BROKEN_ERRNO) -ACE_INLINE int -ACE_Errno_Guard::operator= (const ACE_ERRNO_TYPE &error) -{ - return this->error_ = error; -} -#endif /* ACE_HAS_WINCE_BROKEN_ERRNO */ - -ACE_INLINE int -ACE_Errno_Guard::operator= (int error) -{ - return this->error_ = error; -} - -ACE_INLINE bool -ACE_Errno_Guard::operator== (int error) -{ - return this->error_ == error; -} - -ACE_INLINE bool -ACE_Errno_Guard::operator!= (int error) -{ - return this->error_ != error; -} - -ACE_END_VERSIONED_NAMESPACE_DECL |