summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_Errno.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_Errno.cpp')
-rw-r--r--ACE/ace/OS_Errno.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/ACE/ace/OS_Errno.cpp b/ACE/ace/OS_Errno.cpp
index 1c2f75e490a..8c082487b73 100644
--- a/ACE/ace/OS_Errno.cpp
+++ b/ACE/ace/OS_Errno.cpp
@@ -1,11 +1,9 @@
// -*- 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__))
+// Inlining this class on debug builds with gcc deadlocks during static
+// initialization. On non debug builds it causes compilation errors.
+#if !defined (ACE_HAS_INLINED_OSCALLS)
# if defined (ACE_INLINE)
# undef ACE_INLINE
# endif /* ACE_INLINE */