summaryrefslogtreecommitdiff
path: root/ace
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2004-12-16 14:12:56 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2004-12-16 14:12:56 +0000
commit590dad8ba691803f4aff44b507c389b349652d09 (patch)
tree6fdc62ef26cade31dc5ea10a472a44248fb3b307 /ace
parent1d7e0baef84ffa8f00975895429843c021b0c1a7 (diff)
downloadATCD-590dad8ba691803f4aff44b507c389b349652d09.tar.gz
ChangeLogTag: Thu Dec 16 14:12:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace')
-rw-r--r--ace/Flag_Manip.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Flag_Manip.cpp b/ace/Flag_Manip.cpp
index 50df345d56a..e1b1c25b7a6 100644
--- a/ace/Flag_Manip.cpp
+++ b/ace/Flag_Manip.cpp
@@ -2,10 +2,10 @@
#include "ace/Flag_Manip.h"
-#if defined (ACE_WIN32) || defined (VXWORKS) || defined (ACE_LACKS_FCNTL)
+#if defined (ACE_LACKS_FCNTL)
# include "ace/OS_NS_stropts.h"
# include "ace/OS_NS_errno.h"
-#endif /* ACE_WIN32 || VXWORKS || ACE_LACKS_FCNTL */
+#endif /* ACE_LACKS_FCNTL */
#if !defined (__ACE_INLINE__)
#include "ace/Flag_Manip.inl"
@@ -25,7 +25,7 @@ int
ACE::set_flags (ACE_HANDLE handle, int flags)
{
ACE_TRACE ("ACE::set_flags");
-#if defined (ACE_WIN32) || defined (VXWORKS) || defined (ACE_LACKS_FCNTL)
+#if defined (ACE_LACKS_FCNTL)
switch (flags)
{
case ACE_NONBLOCK:
@@ -51,7 +51,7 @@ ACE::set_flags (ACE_HANDLE handle, int flags)
return -1;
else
return 0;
-#endif /* ACE_WIN32 || ACE_LACKS_FCNTL */
+#endif /* ACE_LACKS_FCNTL */
}
// Flags are the file status flags to turn off.
@@ -61,7 +61,7 @@ ACE::clr_flags (ACE_HANDLE handle, int flags)
{
ACE_TRACE ("ACE::clr_flags");
-#if defined (ACE_WIN32) || defined (VXWORKS) || defined (ACE_LACKS_FCNTL)
+#if defined (ACE_LACKS_FCNTL)
switch (flags)
{
case ACE_NONBLOCK:
@@ -87,5 +87,5 @@ ACE::clr_flags (ACE_HANDLE handle, int flags)
return -1;
else
return 0;
-#endif /* ACE_WIN32 || ACE_LACKS_FCNTL */
+#endif /* ACE_LACKS_FCNTL */
}