Skip to content

Commit 6ded816

Browse files
committed
rcache: add major/minor/release version macros
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
1 parent eb038d5 commit 6ded816

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

opal/mca/rcache/rcache.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,15 @@ struct mca_rcache_base_module_t {
189189
opal_mutex_t lock;
190190
};
191191

192+
#define RCACHE_MAJOR_VERSION 3
193+
#define RCACHE_MINOR_VERSION 0
194+
#define RCACHE_RELEASE_VERSION 0
195+
192196
/**
193197
* Macro for use in components that are of type rcache
194198
*/
195199
#define MCA_RCACHE_BASE_VERSION_3_0_0 \
196-
OPAL_MCA_BASE_VERSION_2_1_0("rcache", 3, 0, 0)
200+
OPAL_MCA_BASE_VERSION_2_1_0("rcache", RCACHE_MAJOR_VERSION, RCACHE_MAJOR_VERSION, RCACHE_RELEASE_VERSION)
197201

198202
#endif /* MCA_RCACHE_H */
199203

0 commit comments

Comments
 (0)