Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RVersion.hxx
Go to the documentation of this file.
1#ifndef ROOT_RVERSION_HXX
2#define ROOT_RVERSION_HXX
3
4/* Update on release: */
5#define ROOT_VERSION_MAJOR 6
6#define ROOT_VERSION_MINOR 31
7#define ROOT_VERSION_PATCH 01
8#define ROOT_RELEASE_DATE "Oct 10 2023"
9
10/* Don't change the lines below. */
11
12/*
13 * These macros can be used in the following way:
14 *
15 * #if ROOT_VERSION_CODE >= ROOT_VERSION(6,32,4)
16 * #include <newheader.h>
17 * #else
18 * #include <oldheader.h>
19 * #endif
20 *
21*/
22
23#define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
24#define ROOT_VERSION_CODE ROOT_VERSION(ROOT_VERSION_MAJOR, ROOT_VERSION_MINOR, ROOT_VERSION_PATCH)
25
26#define R__VERS_QUOTE1(P) #P
27#define R__VERS_QUOTE(P) R__VERS_QUOTE1(P)
28
29#define ROOT_RELEASE R__VERS_QUOTE(ROOT_VERSION_MAJOR) \
30 "." R__VERS_QUOTE(ROOT_VERSION_MINOR) \
31 "/" R__VERS_QUOTE(ROOT_VERSION_PATCH)
32
33#endif // ROOT_RVERSION_H