summaryrefslogtreecommitdiff
path: root/examples/Connection/non_blocking/test_spipe_connector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Connection/non_blocking/test_spipe_connector.cpp')
-rw-r--r--examples/Connection/non_blocking/test_spipe_connector.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/Connection/non_blocking/test_spipe_connector.cpp b/examples/Connection/non_blocking/test_spipe_connector.cpp
index 947fd1592c4..94c1527a7d3 100644
--- a/examples/Connection/non_blocking/test_spipe_connector.cpp
+++ b/examples/Connection/non_blocking/test_spipe_connector.cpp
@@ -1,11 +1,11 @@
// ACE_SPIPE Client.
// $Id$
-
#include "ace/SPIPE_Connector.h"
#include "ace/SPIPE_Addr.h"
#include "CPP-connector.h"
+#if !defined (ACE_WIN32)
typedef Peer_Handler<ACE_SPIPE_STREAM> PEER_HANDLER;
typedef IPC_Client<PEER_HANDLER, ACE_SPIPE_CONNECTOR> IPC_CLIENT;
@@ -22,4 +22,10 @@ main (int argc, char *argv[])
return peer_connector.svc ();
}
-
+#else
+int
+main (void)
+{
+ ACE_ERROR_RETURN ((LM_ERROR, "This test is not ported to Win32 (yet)\n"), -1);
+}
+#endif /* !ACE_WIN32 */