Zcpy Bcast Send API: Guard ZC API macros for non-RDMA layers
[charm.git] / src / conv-core / converse.h
index b858d31a2d505b83f0e1a012976b4dcdd2efbe4c..5ba28ceede0c3769c3d282b6c295d76064b9215b 100644 (file)
 
 #include "conv-header.h"
 
+#if CMK_ONESIDED_IMPL
 #define CMI_ZC_MSGTYPE(msg)                  ((CmiMsgHeaderBasic *)msg)->zcMsgType
 #define CMI_IS_ZC_BCAST(msg)                 (CMI_ZC_MSGTYPE(msg) == CMK_ZC_BCAST_SEND_MSG)
+#endif
 
 #define CMIALIGN(x,n)       (size_t)((~((size_t)n-1))&((x)+(n-1)))
 /*#define ALIGN8(x)        (size_t)((~7)&((x)+7)) */