Go to the documentation of this file.
11 #ifndef __SYS_VERSIONUTIL_H_INCLUDED__
12 #define __SYS_VERSIONUTIL_H_INCLUDED__
19 static constexpr
inline int
20 SYSversionCompare(
int major1,
int minor1,
int build1,
21 int major2,
int minor2,
int build2)
24 return major1 - major2;
26 return minor1 - minor2;
28 return build1 - build2;
32 static constexpr
inline int
33 SYSversionCompare(
int major1,
int minor1,
int build1,
int patch1,
34 int major2,
int minor2,
int build2,
int patch2)
37 return major1 - major2;
39 return minor1 - minor2;
41 return build1 - build2;
43 return patch1 - patch2;
48 #endif // __SYS_VERSIONUTIL_H_INCLUDED__