diff options
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp b/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp index db2b99272e9..34786543733 100644 --- a/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp +++ b/TAO/orbsvcs/examples/RtEC/Schedule/Service.cpp @@ -22,8 +22,11 @@ ACE_RCSID(EC_Examples, Service, "$Id$") int config_run = 0; int parse_args (int argc, char *argv[]); +#if (! defined (__GNUC__)) || (__GNUC__ > 2) || \ + (__GNUC__ == 2 && defined (__GNUC_MINOR__) && __GNUC_MINOR__ >= 8) typedef TAO_Reconfig_Scheduler<TAO_MUF_Reconfig_Sched_Strategy, TAO_SYNCH_MUTEX> RECONFIG_SCHED_TYPE; +#endif int main (int argc, char* argv[]) |