From: Florian Forster <[EMAIL PROTECTED]>
---
src/dbi_main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/dbi_main.c b/src/dbi_main.c
index e103dfc..9b2d80a 100644
--- a/src/dbi_main.c
+++ b/src/dbi_main.c
@@ -1309,10 +1309,14 @@ static dbi_driver_t *_get_driver(const char *filename,
dbi_inst_t *inst) {
if (DLSYM_HANDLE) { /* most OSes */
symhandle = dlhandle;
}
+#ifdef RTLD_DEFAULT
else { /* the BSDs */
/* symhandle = RTLD_NEXT; */
symhandle = RTLD_DEFAULT;
}
+#else
+ else { return (NULL); }
+#endif
while (custom_functions_list && custom_functions_list[idx] !=
NULL) {
custom = malloc(sizeof(dbi_custom_function_t));
--
1.5.6.5
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libdbi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libdbi-devel