summaryrefslogtreecommitdiff
path: root/ace/SPIPE_Connector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/SPIPE_Connector.cpp')
-rw-r--r--ace/SPIPE_Connector.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/SPIPE_Connector.cpp b/ace/SPIPE_Connector.cpp
index 36f7b9955df..60954a4a6d3 100644
--- a/ace/SPIPE_Connector.cpp
+++ b/ace/SPIPE_Connector.cpp
@@ -63,7 +63,8 @@ ACE_SPIPE_Connector::connect (ACE_SPIPE_Stream &new_io,
ACE_HANDLE handle;
ACE_UNUSED_ARG (pipe_mode);
-#if defined (ACE_WIN32) && !defined (ACE_HAS_PHARLAP)
+#if defined (ACE_WIN32) && \
+ !defined (ACE_HAS_PHARLAP) && !defined (ACE_HAS_WINCE)
// We need to allow for more than one attempt to connect,
// calculate the absolute time at which we give up.
ACE_Time_Value absolute_time;
@@ -144,7 +145,7 @@ ACE_SPIPE_Connector::connect (ACE_SPIPE_Stream &new_io,
handle = ACE_Handle_Ops::handle_timed_open (timeout,
remote_sap.get_path_name (),
flags, perms, sa);
-#endif /* !ACE_WIN32 || ACE_HAS_PHARLAP */
+#endif /* !ACE_WIN32 || ACE_HAS_PHARLAP || ACE_HAS_WINCE */
new_io.set_handle (handle);
new_io.remote_addr_ = remote_sap; // class copy.