diff --git a/daemons/clvmd/clvmd-comms.h b/daemons/clvmd/clvmd-comms.h index 715244cb7..fbcfe8b54 100644 --- a/daemons/clvmd/clvmd-comms.h +++ b/daemons/clvmd/clvmd-comms.h @@ -112,9 +112,13 @@ struct cluster_ops *init_corosync_cluster(void); #ifdef USE_SINGLENODE # define SINGLENODE_CSID_LEN (sizeof(int)) -# define MAX_CLUSTER_MEMBER_NAME_LEN 64 +# ifndef MAX_CLUSTER_MEMBER_NAME_LEN +# define MAX_CLUSTER_MEMBER_NAME_LEN 64 +# endif # define SINGLENODE_MAX_CLUSTER_MESSAGE 65535 -# define MAX_CSID_LEN sizeof(int) +# ifndef MAX_CSID_LEN +# define MAX_CSID_LEN sizeof(int) +# endif struct cluster_ops *init_singlenode_cluster(void); #endif