diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-01-12 10:26:03 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2006-01-12 10:26:03 +0000 |
commit | 903b53f4a2936fbf2e3790cf548c8d3725c4a52b (patch) | |
tree | 278a8b36f1e0b94500e310c75455377e74d49d81 /TAO/examples/PluggableUDP/tests | |
parent | 06e4de3a114b16e73360851ae406d04ec30cc241 (diff) | |
download | ATCD-903b53f4a2936fbf2e3790cf548c8d3725c4a52b.tar.gz |
ChangeLogTag: Thu Jan 12 10:10:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/examples/PluggableUDP/tests')
-rw-r--r-- | TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp | 2 | ||||
-rw-r--r-- | TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp index 28a01e93b28..8c5b4c7bd21 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/client.cpp @@ -25,7 +25,7 @@ // executable and initialized for static builds. #include "tao/Strategies/advanced_resource.h" -#if defined (VXWORKS) +#if defined (ACE_VXWORKS) && !defined (__RTP__) # undef ACE_MAIN # define ACE_MAIN testClient #endif diff --git a/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp b/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp index 2e968cb9eb6..acc84689614 100644 --- a/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp +++ b/TAO/examples/PluggableUDP/tests/SimplePerformance/server.cpp @@ -25,6 +25,12 @@ // executable and initialized for static builds. #include "tao/Strategies/advanced_resource.h" +#if defined (ACE_VXWORKS) && !defined (__RTP__) +# undef ACE_MAIN +# define ACE_MAIN testServer +#endif + + const char *ior_output_file = "test.ior"; int main (int argc, char *argv[]) |