diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp index 16fad32ff86..65dc11c07b5 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/client.cpp @@ -1,11 +1,10 @@ // $Id$ #include "ace/config-all.h" - -#if defined (ACE_VXWORKS) && !defined (__RTP__) +#if defined (VXWORKS) # undef ACE_MAIN # define ACE_MAIN client -#endif /* ACE_VXWORKS && !__RTP__ */ +#endif /* VXWORKS */ #include "Cubit_Client.h" #include "tao/Timeprobe.h" @@ -19,7 +18,7 @@ ACE_RCSID(IDL_Cubit, client, "$Id$") // This function runs the client test. int -main (int argc, char *argv[]) +ACE_TMAIN (int argc, ACE_TCHAR *argv[]) { // Enable FIFO scheduling, e.g., RT scheduling class on Solaris. if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO, |