diff options
Diffstat (limited to 'ACE/ace/OS_Errno.cpp')
-rw-r--r-- | ACE/ace/OS_Errno.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ACE/ace/OS_Errno.cpp b/ACE/ace/OS_Errno.cpp index 25266ae5c55..6f9905cad1f 100644 --- a/ACE/ace/OS_Errno.cpp +++ b/ACE/ace/OS_Errno.cpp @@ -6,9 +6,10 @@ ACE_RCSID(ace, OS_Errno, "$Id$") // Inlining this class on debug builds with gcc on Solaris can cause -// deadlocks during static initialization. +// deadlocks during static initialization. On non debug builds it +// causes compilation errors. #if !defined (ACE_HAS_INLINED_OSCALLS) || \ - (defined (__GNUG__) && defined (__sun__) && !defined (ACE_NDEBUG)) + (defined (__GNUG__) && defined (__sun__)) # if defined (ACE_INLINE) # undef ACE_INLINE # endif /* ACE_INLINE */ |