summaryrefslogtreecommitdiff
path: root/ACE/ace/OS_Errno.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/OS_Errno.h')
-rw-r--r--ACE/ace/OS_Errno.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/ace/OS_Errno.h b/ACE/ace/OS_Errno.h
index 9ebdc03b5c7..3f2555b3fb5 100644
--- a/ACE/ace/OS_Errno.h
+++ b/ACE/ace/OS_Errno.h
@@ -76,11 +76,10 @@ private:
ACE_END_VERSIONED_NAMESPACE_DECL
-// Inlining this class on debug builds with gcc on Solaris can cause
+// Inlining this class on debug builds with 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_HAS_INLINED_OSCALLS)
# if defined (ACE_INLINE)
# undef ACE_INLINE
# endif /* ACE_INLINE */