aboutsummaryrefslogtreecommitdiffstats
path: root/x86_64
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2019-03-27 11:27:07 +0100
committerGitHub <noreply@github.com>2019-03-27 11:27:07 +0100
commitd5c0b4054c8490bda3b3d191724c58d5d4002e58 (patch)
treea864b602037e123b4a80a4f985a2c14919449088 /x86_64
parent1df887f5a275e4c31096018ff1a8fdfc39bca591 (diff)
downloadcompcert-kvx-d5c0b4054c8490bda3b3d191724c58d5d4002e58.tar.gz
compcert-kvx-d5c0b4054c8490bda3b3d191724c58d5d4002e58.zip
Define macros with CompCert's version number (#284)
As suggested in #282, it can be useful to #ifdef code depending on specific versions of CompCert. Assuming a version number of the form MM.mm , the following macros are predefined: __COMPCERT_MAJOR__=MM (the major version number) __COMPCERT_MINOR__=mm (the minor version number) __COMPCERT_VERSION__=MMmm (two decimal digits for the minor, e.g. 305 for version 3.5) We also define __COMPCERT_BUILDNR__ if the build number is not empty in file ./VERSION. Closes: #282
Diffstat (limited to 'x86_64')
0 files changed, 0 insertions, 0 deletions