diff options
Diffstat (limited to 'ace/Flag_Manip.inl')
-rw-r--r-- | ace/Flag_Manip.inl | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ace/Flag_Manip.inl b/ace/Flag_Manip.inl index da24f2a1282..0009be56695 100644 --- a/ace/Flag_Manip.inl +++ b/ace/Flag_Manip.inl @@ -1,19 +1,17 @@ -// -*- C++ -*- -// +/* -*- C++ -*- */ // $Id$ -#include "ace/OS_NS_fcntl.h" +// Return flags currently associated with handle. -ACE_BEGIN_VERSIONED_NAMESPACE_DECL +#include "ace/OS_NS_fcntl.h" -// Return flags currently associated with handle. ACE_INLINE int ACE::get_flags (ACE_HANDLE handle) { ACE_TRACE ("ACE::get_flags"); #if defined (ACE_LACKS_FCNTL) - // ACE_OS::fcntl is not supported. It + // ACE_OS::fcntl is not supported, e.g., on VxWorks. It // would be better to store ACE's notion of the flags // associated with the handle, but this works for now. ACE_UNUSED_ARG (handle); @@ -22,5 +20,3 @@ ACE::get_flags (ACE_HANDLE handle) return ACE_OS::fcntl (handle, F_GETFL, 0); #endif /* ACE_LACKS_FCNTL */ } - -ACE_END_VERSIONED_NAMESPACE_DECL |