Changeset 85702 in vbox for trunk/include
- Timestamp:
- Aug 11, 2020 6:38:50 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/linux/version.h
r85701 r85702 53 53 54 54 55 /** @def VBOX_RHEL_MAJ_PREREQ 55 /** @def RTLNX_RHEL_PREREQ 56 * Require a minium RedHat release. 57 * @param a_iMajor The major release number (RHEL_MAJOR). 58 * @param a_iMinor The minor release number (RHEL_MINOR). 59 * @sa RTLNX_RHEL_MAJ_PREREQ 60 */ 61 #if defined(RHEL_MAJOR) && defined(RHEL_MINOR) 62 # define RTLNX_RHEL_PREREQ(a_iMajor, a_iMinor) \ 63 ((RHEL_MAJOR) > (a_iMajor) || ((RHEL_MAJOR) == (a_iMajor) && (RHEL_MINOR) >= (a_iMinor))) 64 #else 65 # define RTLNX_RHEL_PREREQ(a_iMajor, a_iMinor) (0) 66 #endif 67 68 /** @def RTLNX_RHEL_MAJ_PREREQ 56 69 * Require a minimum minor release number for the given RedHat release. 57 70 * @param a_iMajor RHEL_MAJOR must _equal_ this. 58 71 * @param a_iMinor RHEL_MINOR must be greater or equal to this. 72 * @sa RTLNX_RHEL_PREREQ 59 73 */ 60 74 #if defined(RHEL_MAJOR) && defined(RHEL_MINOR) 61 # define VBOX_RHEL_MAJ_PREREQ(a_iMajor, a_iMinor) ((RHEL_MAJOR) == (a_iMajor) && (RHEL_MINOR) >= (a_iMinor))75 # define RTLNX_RHEL_MAJ_PREREQ(a_iMajor, a_iMinor) ((RHEL_MAJOR) == (a_iMajor) && (RHEL_MINOR) >= (a_iMinor)) 62 76 #else 63 # define VBOX_RHEL_MAJ_PREREQ(a_iMajor, a_iMinor) (0)77 # define RTLNX_RHEL_MAJ_PREREQ(a_iMajor, a_iMinor) (0) 64 78 #endif 65 79
Note:
See TracChangeset
for help on using the changeset viewer.