mark Nim version with .intdefine

This commit is contained in:
Andreas Rumpf 2018-02-05 21:12:56 +01:00
commit 49ad131fe2

View file

@ -1955,13 +1955,13 @@ const
## that you cannot compare a floating point value to this value ## that you cannot compare a floating point value to this value
## and expect a reasonable result - use the `classify` procedure ## and expect a reasonable result - use the `classify` procedure
## in the module ``math`` for checking for NaN. ## in the module ``math`` for checking for NaN.
NimMajor*: int = 0 NimMajor* {.intdefine.}: int = 0
## is the major number of Nim's version. ## is the major number of Nim's version.
NimMinor*: int = 17 NimMinor* {.intdefine.}: int = 17
## is the minor number of Nim's version. ## is the minor number of Nim's version.
NimPatch*: int = 3 NimPatch* {.intdefine.}: int = 3
## is the patch number of Nim's version. ## is the patch number of Nim's version.
NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch