summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index ff0839b69..2eef4d408 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -817,7 +817,7 @@ const
     ## is the value that should be passed to ``quit`` to indicate
     ## failure.
 
-var program_result* {.exportc: "nim_$1".} = QuitSuccess
+var programResult* {.exportc: "nim_program_result".}: int
   ## modify this varialbe to specify the exit code of the program
   ## under normal circumstances. when the program is terminated
   ## prematurelly using ``quit``, this value is ignored.