summaryrefslogtreecommitdiff
path: root/examples/Connection/non_blocking/test_spipe_acceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Connection/non_blocking/test_spipe_acceptor.cpp')
-rw-r--r--examples/Connection/non_blocking/test_spipe_acceptor.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/Connection/non_blocking/test_spipe_acceptor.cpp b/examples/Connection/non_blocking/test_spipe_acceptor.cpp
index a0a3471438f..4739bd3f2e3 100644
--- a/examples/Connection/non_blocking/test_spipe_acceptor.cpp
+++ b/examples/Connection/non_blocking/test_spipe_acceptor.cpp
@@ -1,11 +1,11 @@
// ACE_SPIPE Server.
// $Id$
-
#include "ace/SPIPE_Acceptor.h"
#include "ace/SPIPE_Addr.h"
#include "CPP-acceptor.h"
+#if !defined (ACE_WIN32)
typedef Svc_Handler<ACE_SPIPE_STREAM> SVC_HANDLER;
typedef IPC_Server<SVC_HANDLER, ACE_SPIPE_ACCEPTOR> IPC_SERVER;
@@ -22,4 +22,11 @@ main (int argc, char *argv[])
return peer_acceptor.svc ();
}
+#else
+int
+main (void)
+{
+ ACE_ERROR_RETURN ((LM_ERROR, "This test is not ported to Win32 (yet)\n"), -1);
+}
+#endif /* !ACE_WIN32 */