summaryrefslogtreecommitdiff
path: root/ACE/examples/Connection/blocking/SPIPE-acceptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/examples/Connection/blocking/SPIPE-acceptor.h')
-rw-r--r--ACE/examples/Connection/blocking/SPIPE-acceptor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/examples/Connection/blocking/SPIPE-acceptor.h b/ACE/examples/Connection/blocking/SPIPE-acceptor.h
index 546941c48fb..af4d3d52aae 100644
--- a/ACE/examples/Connection/blocking/SPIPE-acceptor.h
+++ b/ACE/examples/Connection/blocking/SPIPE-acceptor.h
@@ -18,7 +18,7 @@
// This only works on Win32 platforms and on Unix platforms
// supporting POSIX aio calls.
-#if ((defined (ACE_WIN32) && !defined (ACE_HAS_WINCE)) || (defined (ACE_HAS_AIO_CALLS)))
+#if defined (ACE_HAS_WIN32_OVERLAPPED_IO) || defined (ACE_HAS_AIO_CALLS)
// This is the class that does the work once the ACE_Oneshot_Acceptor
// has accepted a connection.
@@ -74,6 +74,6 @@ private:
// Signal handler method.
};
-#endif /* ACE_WIN32 || ACE_HAS_AIO_CALLS*/
+#endif /* ACE_HAS_WIN32_OVERLAPPED_IO || ACE_HAS_AIO_CALLS */
#endif /* SP_ACCEPTOR_H */