include ansi_c also when doing nimscript
This commit is contained in:
parent
8d7a45f205
commit
5e93924afd
1 changed files with 2 additions and 2 deletions
|
|
@ -2616,9 +2616,9 @@ when not defined(JS): #and not defined(nimscript):
|
|||
|
||||
{.deprecated: [TFile: File, TFileHandle: FileHandle, TFileMode: FileMode].}
|
||||
|
||||
when not defined(nimscript):
|
||||
include "system/ansi_c"
|
||||
include "system/ansi_c"
|
||||
|
||||
when not defined(nimscript):
|
||||
proc cmp(x, y: string): int =
|
||||
result = int(c_strcmp(x, y))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue