diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-26 15:21:16 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-04-26 15:21:16 +0000 |
commit | 9e91964637dbf72c6fc424873002ae299ccbb528 (patch) | |
tree | fafa0560a27d3b707ffff9ae0325ad3439996bfe | |
parent | 25c9d01225f1deed7b39a28777396ff7518238a3 (diff) | |
download | ATCD-9e91964637dbf72c6fc424873002ae299ccbb528.tar.gz |
ChangeLogTag:Sun Apr 26 10:19:49 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r-- | TAO/ChangeLog-98c | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/TAO/ChangeLog-98c b/TAO/ChangeLog-98c index c76a337465b..99a79b63e70 100644 --- a/TAO/ChangeLog-98c +++ b/TAO/ChangeLog-98c @@ -1,3 +1,9 @@ +Sun Apr 26 10:19:49 1998 Carlos O'Ryan <coryan@cs.wustl.edu> + + * orbsvcs/tests/EC_Multiple/EC_Multiple.cpp: + The print_priority_info() routine is platform specific, but I + did not protect it with the right #ifdef/#endif block. + Sun Apr 26 01:09:23 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu> * TAO version 0.1.16 released. diff --git a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp index f2057cac2d7..95475c76a45 100644 --- a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp +++ b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp @@ -2,11 +2,13 @@ // $Id$ // +#if defined (sun) || defined (__osf__) // @@ TODO This should be encapsulated in ACE... #include <sys/types.h> #include <sys/priocntl.h> #include <sys/rtpriocntl.h> #include <sys/tspriocntl.h> +#endif /* sun || __osf__ */ #include "ace/Get_Opt.h" #include "ace/Auto_Ptr.h" @@ -57,7 +59,6 @@ print_priority_info (const char *const name) id_t ts_id, rt_id; pcparms_t pcparms; rtparms_t rtparms; -#endif /* sun || Digital Unix 4.0 */ struct sched_param param; int policy, status; @@ -84,7 +85,6 @@ print_priority_info (const char *const name) ACE_DEBUG ((LM_DEBUG,"pthread_getschedparam failed: %d\n", status)); } -#if defined (sun) || defined (__osf__) // Get the class TS and RT class IDs. memset (&pcinfo, 0, sizeof pcinfo); |