summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_Errno.cpp
blob: 1c2f75e490ae7a31a5153461aa8f266bb38eae1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// -*- C++ -*-
#include "ace/OS_Errno.h"

// 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 */