Contain pthread defs with HAVE_LIBPTHREAD
Signed-off-by: stan smith <[email protected]>
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;
_______________________________________________
ofw mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ofw