[svn] * Added ACE for Linux and Windows (Thanks Derex for Linux part and partial Windows part)

* Updated to 6721 and 676
* Fixed TrinityScript logo
* Version updated to 0.2.6721.676

--HG--
branch : trunk
rename : 6700-670 => 6721-676
This commit is contained in:
Neo2003
2008-10-04 06:17:19 -05:00
parent ca7a4bf1a7
commit 5651828bf7
1756 changed files with 578845 additions and 187201 deletions
+47
View File
@@ -0,0 +1,47 @@
// -*- C++ -*-
// $Id: OS_Errno.cpp 80826 2008-03-04 14:51:23Z wotte $
#include "ace/OS_Errno.h"
ACE_RCSID(ace, OS_Errno, "$Id: OS_Errno.cpp 80826 2008-03-04 14:51:23Z wotte $")
// Inlining this class on debug builds with gcc on Solaris can cause
// deadlocks during static initialization. On non debug builds it
// causes compilation errors.
#if !defined (ACE_HAS_INLINED_OSCALLS) || \
(defined (__GNUG__) && defined (__sun__))
# if defined (ACE_INLINE)
# undef ACE_INLINE
# endif /* ACE_INLINE */
# define ACE_INLINE
# include "ace/OS_Errno.inl"
#endif /* ACE_HAS_INLINED_OSCALLS */
#if defined (ACE_HAS_WINCE_BROKEN_ERRNO)
#include "ace/OS_Memory.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
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;
}
ACE_END_VERSIONED_NAMESPACE_DECL
#endif /* ACE_HAS_WINCE_BROKEN_ERRNO */