Message ID | 5C9312DA0BBF40CCBD2AA7437CECC6AE@amr.corp.intel.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/opensm/libvendor/osm_vendor_ibumad.c b/opensm/libvendor/osm_vendor_ibumad.c index 0f5a7ae..6cafc00 100644 --- a/opensm/libvendor/osm_vendor_ibumad.c +++ b/opensm/libvendor/osm_vendor_ibumad.c @@ -90,7 +90,11 @@ typedef struct _osm_umad_bind_info { } osm_umad_bind_info_t; typedef struct _umad_receiver { +#ifdef HAVE_LIBPTHREAD pthread_t tid; +#else + cl_thread_t tid; +#endif osm_vendor_t *p_vend; osm_log_t *p_log; } umad_receiver_t;