Make gc v2 compile with --threads:on

This commit is contained in:
Yuriy Glukhov 2016-10-05 20:36:22 +03:00
commit 1bfcea5d5c
2 changed files with 10 additions and 4 deletions

View file

@ -2731,7 +2731,7 @@ when not defined(JS): #and not defined(nimscript):
proc setStdIoUnbuffered*() {.tags: [], benign.}
## Configures `stdin`, `stdout` and `stderr` to be unbuffered.
proc close*(f: File) {.tags: [].}
proc close*(f: File) {.tags: [], gcsafe.}
## Closes the file.
proc endOfFile*(f: File): bool {.tags: [], benign.}