make -d:nimQuirky work with devel
This commit is contained in:
parent
5edc5fc650
commit
375b444ecd
2 changed files with 3 additions and 1 deletions
|
|
@ -148,4 +148,4 @@ proc rawWrite*(f: CFilePtr, s: cstring) {.compilerproc, nonreloadable, inline.}
|
||||||
# we cannot throw an exception here!
|
# we cannot throw an exception here!
|
||||||
discard c_fwrite(s, 1, s.len, f)
|
discard c_fwrite(s, 1, s.len, f)
|
||||||
|
|
||||||
{.pop}
|
{.pop.}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,8 @@ when hostOS == "standalone":
|
||||||
panic(arg)
|
panic(arg)
|
||||||
|
|
||||||
elif defined(nimQuirky) and not defined(nimscript):
|
elif defined(nimQuirky) and not defined(nimscript):
|
||||||
|
import ansi_c
|
||||||
|
|
||||||
proc name(t: typedesc): string {.magic: "TypeTrait".}
|
proc name(t: typedesc): string {.magic: "TypeTrait".}
|
||||||
|
|
||||||
proc sysFatal(exceptn: typedesc, message, arg: string) {.inline, noReturn.} =
|
proc sysFatal(exceptn: typedesc, message, arg: string) {.inline, noReturn.} =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue