From 64f7848a841bd2cc650ae45691c922b5a444b47a Mon Sep 17 00:00:00 2001 From: Brian Barrett Date: Tue, 16 Dec 2008 20:09:56 +0000 Subject: [PATCH] Number of small fixes to get the trunk to build again on Catamount This commit was SVN r20141. --- orte/runtime/data_type_support/orte_dt_print_fns.c | 2 +- orte/runtime/data_type_support/orte_dt_size_fns.c | 2 +- orte/runtime/orte_globals.c | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/orte/runtime/data_type_support/orte_dt_print_fns.c b/orte/runtime/data_type_support/orte_dt_print_fns.c index 7fcad98f48..16b55c3546 100644 --- a/orte/runtime/data_type_support/orte_dt_print_fns.c +++ b/orte/runtime/data_type_support/orte_dt_print_fns.c @@ -158,11 +158,11 @@ int orte_dt_std_print(char **output, char *prefix, void *src, opal_data_type_t t case ORTE_GRPCOMM_MODE: orte_dt_quick_print(output, "ORTE_GRPCOMM_MODE", prefix, src, ORTE_GRPCOMM_MODE_T); break; -#endif case ORTE_IOF_TAG: orte_dt_quick_print(output, "ORTE_IOF_TAG", prefix, src, ORTE_IOF_TAG_T); break; +#endif default: ORTE_ERROR_LOG(ORTE_ERR_UNKNOWN_DATA_TYPE); diff --git a/orte/runtime/data_type_support/orte_dt_size_fns.c b/orte/runtime/data_type_support/orte_dt_size_fns.c index 6b48969ee0..1d3dca3d2a 100644 --- a/orte/runtime/data_type_support/orte_dt_size_fns.c +++ b/orte/runtime/data_type_support/orte_dt_size_fns.c @@ -79,11 +79,11 @@ int orte_dt_std_size(size_t *size, void *src, opal_data_type_t type) case ORTE_GRPCOMM_MODE: *size = sizeof(orte_grpcomm_mode_t); break; -#endif case ORTE_IOF_TAG: *size = sizeof(orte_iof_tag_t); break; +#endif default: ORTE_ERROR_LOG(ORTE_ERR_UNKNOWN_DATA_TYPE); diff --git a/orte/runtime/orte_globals.c b/orte/runtime/orte_globals.c index 5cd978ba38..bb9a42e0f4 100644 --- a/orte/runtime/orte_globals.c +++ b/orte/runtime/orte_globals.c @@ -359,8 +359,6 @@ int orte_dt_init(void) return rc; } -#endif /* !ORTE_DISABLE_FULL_SUPPORT */ - tmp = ORTE_IOF_TAG; if (ORTE_SUCCESS != (rc = opal_dss.register_type(orte_dt_pack_iof_tag, orte_dt_unpack_iof_tag, @@ -374,7 +372,8 @@ int orte_dt_init(void) ORTE_ERROR_LOG(rc); return rc; } - +#endif /* !ORTE_DISABLE_FULL_SUPPORT */ + return ORTE_SUCCESS; }