File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ when declared(stdout):
610
610
android_log_print(ANDROID_LOG_VERBOSE, "nim", s)
611
611
else:
612
612
# flockfile deadlocks some versions of Android 5.x.x
613
- when not defined(windows) and not defined(android) and not defined(nintendoswitch):
613
+ when not defined(windows) and not defined(android) and not defined(nintendoswitch) and hostOS != "ansic" :
614
614
proc flockfile(f: File) {.importc, nodecl.}
615
615
proc funlockfile(f: File) {.importc, nodecl.}
616
616
flockfile(stdout)
@@ -624,7 +624,7 @@ when declared(stdout):
624
624
const linefeed = "\n"
625
625
discard c_fwrite(linefeed.cstring , linefeed.len, 1, stdout)
626
626
discard c_fflush(stdout)
627
- when not defined(windows) and not defined(android) and not defined(nintendoswitch):
627
+ when not defined(windows) and not defined(android) and not defined(nintendoswitch) and hostOS != "ansic" :
628
628
funlockfile(stdout)
629
629
when defined(windows) and compileOption("threads"):
630
630
releaseSys echoLock
You can’t perform that action at this time.
0 commit comments