diff options
author | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-31 01:02:12 +0000 |
---|---|---|
committer | dhinton <dhinton@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2003-07-31 01:02:12 +0000 |
commit | 5881eb04249c4b4043aa2b168fafe948b2eddbb4 (patch) | |
tree | d5533595dea8884e43bdbc846da550d27435047d /examples/C++NPv2 | |
parent | a16a79567b2047c9257a686772cb46cb8b5de001 (diff) | |
download | ATCD-5881eb04249c4b4043aa2b168fafe948b2eddbb4.tar.gz |
ChangeLogTag:Thu Jul 31 00:49:18 UTC 2003 Don Hinton <dhinton@dresystems.com>
Diffstat (limited to 'examples/C++NPv2')
-rw-r--r-- | examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp b/examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp index 5daa2f4543d..5cdc6814f2b 100644 --- a/examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp +++ b/examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp @@ -4,6 +4,10 @@ ** Copyright 2002 Addison Wesley. All Rights Reserved. */ +#include "ace/config-all.h" + +#if defined (ACE_WIN32) + #include "ace/Reactor.h" #include "ace/Synch.h" #include "ace/WFMO_Reactor.h" @@ -133,3 +137,10 @@ int main (int argc, char *argv[]) (N_THREADS, event_loop, &reactor); return ACE_Thread_Manager::instance ()->wait (); } + +#else /* !ACE_WIN32 */ +int main (int, char *[]) +{ + return 0; +} +#endif /* ACE_WIN32 */ |