Fixed compilation error with -d:nimDebugDlOpen
This commit is contained in:
parent
6e1313515d
commit
9c91558e62
1 changed files with 2 additions and 1 deletions
|
|
@ -74,7 +74,8 @@ when defined(posix):
|
|||
when defined(nimDebugDlOpen):
|
||||
let error = dlerror()
|
||||
if error != nil:
|
||||
c_fprintf(c_stderr, "%s\n", error)
|
||||
stderr.write(error)
|
||||
stderr.rawWrite("\n")
|
||||
|
||||
proc nimGetProcAddr(lib: LibHandle, name: cstring): ProcAddr =
|
||||
result = dlsym(lib, name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue