projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
perl5.001 patch.1d
[p5sagit/p5-mst-13.2.git]
/
ext
/
DynaLoader
/
dl_dlopen.xs
diff --git
a/ext/DynaLoader/dl_dlopen.xs
b/ext/DynaLoader/dl_dlopen.xs
index
ffd3dbc
..
0cba087
100644
(file)
--- a/
ext/DynaLoader/dl_dlopen.xs
+++ b/
ext/DynaLoader/dl_dlopen.xs
@@
-115,7
+115,11
@@
#endif
#ifndef HAS_DLERROR
-#define dlerror() "Unknown error - dlerror() not implemented"
+# ifdef __NetBSD__
+# define dlerror() strerror(errno)
+# else
+# define dlerror() "Unknown error - dlerror() not implemented"
+# endif
#endif