From b865137c73e26abd453c89a142688ec484a1870c Mon Sep 17 00:00:00 2001 From: Steve Huston Date: Thu, 12 Apr 2001 21:35:12 +0000 Subject: ChangeLogTag:Thu Apr 12 17:31:36 2001 Steve Huston --- examples/IOStream/server/iostream_server.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') diff --git a/examples/IOStream/server/iostream_server.h b/examples/IOStream/server/iostream_server.h index fbec50d3fde..9c8dc64db59 100644 --- a/examples/IOStream/server/iostream_server.h +++ b/examples/IOStream/server/iostream_server.h @@ -12,6 +12,8 @@ #include "ace/Svc_Handler.h" #include "ace/Synch.h" +#if !defined (ACE_LACKS_ACE_IOSTREAM) + // Declare a new type which will case an ACE_SOCK_Stream to behave // like an iostream. The new ACE_SOCK_IOStream type can be used // anywhere an ACE_SOCK_Stream is used. @@ -47,4 +49,6 @@ public: virtual int handle_input (ACE_HANDLE); }; +#endif /* ACE_LACKS_ACE_IOSTREAM */ + #endif /* __IOSTREAM_SERVER_H */ -- cgit v1.2.1