diff options
Diffstat (limited to 'Source/cmVersion.h')
-rw-r--r-- | Source/cmVersion.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmVersion.h b/Source/cmVersion.h index 84f750f..46fd5a6 100644 --- a/Source/cmVersion.h +++ b/Source/cmVersion.h @@ -35,10 +35,9 @@ public: /* Encode with room for up to 1000 minor releases between major releases and to encode dates until the year 10000 in the patch level. */ #define CMake_VERSION_ENCODE__BASE KWIML_INT_UINT64_C(100000000) -#define CMake_VERSION_ENCODE(major, minor, patch) \ - ((((major) * 1000u) * CMake_VERSION_ENCODE__BASE) + \ - (((minor) % 1000u) * CMake_VERSION_ENCODE__BASE) + \ - (((patch) % CMake_VERSION_ENCODE__BASE))) +#define CMake_VERSION_ENCODE(major, minor, patch) \ + ((((major)*1000u) * CMake_VERSION_ENCODE__BASE) + \ + (((minor) % 1000u) * CMake_VERSION_ENCODE__BASE) + \ + (((patch) % CMake_VERSION_ENCODE__BASE))) #endif - |