diff options
author | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2019-03-27 11:27:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 11:27:07 +0100 |
commit | d5c0b4054c8490bda3b3d191724c58d5d4002e58 (patch) | |
tree | a864b602037e123b4a80a4f985a2c14919449088 /flocq/Calc/Fcalc_sqrt.v | |
parent | 1df887f5a275e4c31096018ff1a8fdfc39bca591 (diff) | |
download | compcert-d5c0b4054c8490bda3b3d191724c58d5d4002e58.tar.gz compcert-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 'flocq/Calc/Fcalc_sqrt.v')
0 files changed, 0 insertions, 0 deletions