Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:10:49

0001 #ifndef ROOT_RVERSION_HXX
0002 #define ROOT_RVERSION_HXX
0003 
0004 /* Update on release: */
0005 #define ROOT_VERSION_MAJOR 6
0006 #define ROOT_VERSION_MINOR 32
0007 #define ROOT_VERSION_PATCH 8
0008 #define ROOT_RELEASE_DATE "November 14 2024"
0009 
0010 /* Don't change the lines below. */
0011 
0012 /*
0013  * These macros can be used in the following way:
0014  *
0015  *    #if ROOT_VERSION_CODE >= ROOT_VERSION(6,32,6)
0016  *       #include <newheader.h>
0017  *    #else
0018  *       #include <oldheader.h>
0019  *    #endif
0020  *
0021 */
0022 
0023 #define ROOT_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
0024 #define ROOT_VERSION_CODE ROOT_VERSION(ROOT_VERSION_MAJOR, ROOT_VERSION_MINOR, ROOT_VERSION_PATCH)
0025 
0026 #define R__VERS_QUOTE1_MAJOR(P) #P
0027 #define R__VERS_QUOTE_MAJOR(P) R__VERS_QUOTE1_MAJOR(P)
0028 
0029 
0030 #if ROOT_VERSION_MINOR < 10
0031 #define R__VERS_QUOTE1_MINOR(P) "0" #P
0032 #else
0033 #define R__VERS_QUOTE1_MINOR(P) #P
0034 #endif
0035 #define R__VERS_QUOTE_MINOR(P) R__VERS_QUOTE1_MINOR(P)
0036 
0037 #if ROOT_VERSION_PATCH < 10
0038 #define R__VERS_QUOTE1_PATCH(P) "0" #P
0039 #else
0040 #define R__VERS_QUOTE1_PATCH(P) #P
0041 #endif
0042 #define R__VERS_QUOTE_PATCH(P) R__VERS_QUOTE1_PATCH(P)
0043 
0044 #define ROOT_RELEASE R__VERS_QUOTE_MAJOR(ROOT_VERSION_MAJOR) \
0045    "." R__VERS_QUOTE_MINOR(ROOT_VERSION_MINOR) \
0046    "." R__VERS_QUOTE_PATCH(ROOT_VERSION_PATCH)
0047 
0048 #endif // ROOT_RVERSION_H