From a22c3c42b2ab5ae0a9013d3e833ca72eeb27be87 Mon Sep 17 00:00:00 2001 From: parsons Date: Fri, 25 Feb 2000 15:45:03 +0000 Subject: Guarded all pertinent code with #if !defined (TAO_HAS_MINIMUM_CORBA). --- TAO/performance-tests/Latency/dii_client.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/TAO/performance-tests/Latency/dii_client.cpp b/TAO/performance-tests/Latency/dii_client.cpp index 8ced660dd39..05e7194f288 100644 --- a/TAO/performance-tests/Latency/dii_client.cpp +++ b/TAO/performance-tests/Latency/dii_client.cpp @@ -55,6 +55,8 @@ parse_args (int argc, char *argv[]) return 0; } +#if !defined (TAO_HAS_MINIMUM_CORBA) + class DII_Client { // = TITLE @@ -98,6 +100,8 @@ private: // Holder for request pointers }; +#endif /* TAO_HAS_MINIMUM_CORBA */ + int main (int argc, char *argv[]) { @@ -146,6 +150,8 @@ main (int argc, char *argv[]) 1); } +#if !defined (TAO_HAS_MINIMUM_CORBA) + DII_Client client; client.set (server.in ()); client.svc (); @@ -159,6 +165,8 @@ main (int argc, char *argv[]) client.prep_stats ("Deferred req prep", gsf); client.other_stats (gsf); +#endif /* TAO_HAS_MINIMUM_CORBA */ + if (do_shutdown) { server->shutdown (ACE_TRY_ENV); @@ -178,6 +186,8 @@ main (int argc, char *argv[]) // **************************************************************** +#if !defined (TAO_HAS_MINIMUM_CORBA) + DII_Client::DII_Client (void) { } @@ -312,3 +322,6 @@ DII_Client::other_stats (ACE_UINT32 gsf) latency, throughput)); } + +#endif /* TAO_HAS_MINIMUM_CORBA */ + -- cgit v1.2.1