summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorcheatfate <ka@hardcore.kiev.ua>2017-11-28 14:40:33 +0200
committercheatfate <ka@hardcore.kiev.ua>2017-11-28 14:40:33 +0200
commitc4a57e711b154c7fa333ec6daac25059e1fd3c6f (patch)
tree7ca30be1f0407e59dce3e70837f08c0f360ba965 /lib
parentc6c0d28a4f1811c20782d3322f5caf2c8d4b2128 (diff)
downloadNim-c4a57e711b154c7fa333ec6daac25059e1fd3c6f.tar.gz
Fix nimrtl troubles.
Diffstat (limited to 'lib')
-rw-r--r--lib/pure/osproc.nim3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim
index 5a22f3a39..6e0307c8f 100644
--- a/lib/pure/osproc.nim
+++ b/lib/pure/osproc.nim
@@ -167,8 +167,7 @@ proc waitForExit*(p: Process, timeout: int = -1): int {.rtl,
   ## On posix, if the process has exited because of a signal, 128 + signal
   ## number will be returned.
 
-
-proc peekExitCode*(p: Process): int {.tags: [].}
+proc peekExitCode*(p: Process): int {.rtl, extern: "nosp$1", tags: [].}
   ## return -1 if the process is still running. Otherwise the process' exit code
   ##
   ## On posix, if the process has exited because of a signal, 128 + signal