diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-02-05 21:12:56 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-02-05 21:12:56 +0100 |
commit | 49ad131fe23a69bcbc3da68fba0b9c4a1df864b8 (patch) | |
tree | cc3034a31e962f3c18a6615a52bec73848f223a7 /lib | |
parent | d72578b3ddfe3ce955975bebd05ea3e3313d0e10 (diff) | |
download | Nim-49ad131fe23a69bcbc3da68fba0b9c4a1df864b8.tar.gz |
mark Nim version with .intdefine
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim index 63511f71c..a0330be76 100644 --- a/lib/system.nim +++ b/lib/system.nim @@ -1955,13 +1955,13 @@ const ## that you cannot compare a floating point value to this value ## and expect a reasonable result - use the `classify` procedure ## in the module ``math`` for checking for NaN. - NimMajor*: int = 0 + NimMajor* {.intdefine.}: int = 0 ## is the major number of Nim's version. - NimMinor*: int = 17 + NimMinor* {.intdefine.}: int = 17 ## is the minor number of Nim's version. - NimPatch*: int = 3 + NimPatch* {.intdefine.}: int = 3 ## is the patch number of Nim's version. NimVersion*: string = $NimMajor & "." & $NimMinor & "." & $NimPatch |