diff --git a/lib/system/threads.nim b/lib/system/threads.nim index ab86baeee..be0b91c66 100644 --- a/lib/system/threads.nim +++ b/lib/system/threads.nim @@ -195,7 +195,7 @@ else: importc: "pthread_setaffinity_np", header: pthreadh.} when defined(linux): - proc syscall(arg: int): int {.varargs, importc: "syscall", header: "".} + proc syscall(arg: int): int {.varargs, importc: "syscall", header: "".} var SYS_gettid {.importc, header: "".}: int #type Pid {.importc: "pid_t", header: "".} = distinct int