make it compile with older nim versions
This commit is contained in:
parent
6efa7ecf18
commit
430814fdb3
2 changed files with 5 additions and 0 deletions
|
|
@ -1,5 +1,8 @@
|
|||
const useLibC = not defined(nimNoLibc)
|
||||
|
||||
when not defined(nimHasHotCodeReloading):
|
||||
{.pragma: nonReloadable.}
|
||||
|
||||
when useLibC:
|
||||
import ansi_c
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue