diff options
Diffstat (limited to 'ace/OS_Errno.cpp')
-rw-r--r-- | ace/OS_Errno.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/ace/OS_Errno.cpp b/ace/OS_Errno.cpp deleted file mode 100644 index 59c6790b529..00000000000 --- a/ace/OS_Errno.cpp +++ /dev/null @@ -1,35 +0,0 @@ -// -*- C++ -*- -// $Id$ - -#include "ace/OS_Errno.h" - -ACE_RCSID(ace, OS_Errno, "$Id$") - -#if !defined (ACE_HAS_INLINED_OSCALLS) -# include "ace/OS_Errno.inl" -#endif /* ACE_HAS_INLINED_OS_CALLS */ - -#if defined (ACE_HAS_WINCE_BROKEN_ERRNO) - -#include "ace/OS_Memory.h" - -ACE_CE_Errno *ACE_CE_Errno::instance_ = 0; -DWORD ACE_CE_Errno::errno_key_ = 0xffffffff; - -void -ACE_CE_Errno::init () -{ - ACE_NEW (ACE_CE_Errno::instance_, - ACE_CE_Errno ()); - ACE_CE_Errno::errno_key_ = TlsAlloc (); -} - -void -ACE_CE_Errno::fini () -{ - TlsFree (ACE_CE_Errno::errno_key_); - delete ACE_CE_Errno::instance_; - ACE_CE_Errno::instance_ = 0; -} - -#endif /* ACE_HAS_WINCE_BROKEN_ERRNO */ |