summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-29 03:32:46 +0100
committerAraq <rumpf_a@web.de>2013-12-29 03:32:46 +0100
commit286f166304f8d7ed59673c148541da41044637b2 (patch)
tree995836709804b4ced3dfc78ac8d500331b8ad4cf /lib/system
parentb731e6ef1c4f10b9ba544c0a66ea1066b3c471a8 (diff)
downloadNim-286f166304f8d7ed59673c148541da41044637b2.tar.gz
case consistency for linux
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/dyncalls.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/dyncalls.nim b/lib/system/dyncalls.nim
index 65f8cbb09..9ef1a99ca 100644
--- a/lib/system/dyncalls.nim
+++ b/lib/system/dyncalls.nim
@@ -56,7 +56,7 @@ when defined(posix):
     RTLD_NOW {.importc: "RTLD_NOW", header: "<dlfcn.h>".}: int
 
   proc dlclose(lib: TLibHandle) {.importc, header: "<dlfcn.h>".}
-  proc dlopen(path: CString, mode: int): TLibHandle {.
+  proc dlopen(path: cstring, mode: int): TLibHandle {.
       importc, header: "<dlfcn.h>".}
   proc dlsym(lib: TLibHandle, name: cstring): TProcAddr {.
       importc, header: "<dlfcn.h>".}
@@ -72,7 +72,7 @@ when defined(posix):
 
   proc nimGetProcAddr(lib: TLibHandle, name: cstring): TProcAddr =
     result = dlsym(lib, name)
-    if result == nil: ProcAddrError(name)
+    if result == nil: procAddrError(name)
 
 elif defined(windows) or defined(dos):
   #