summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDiego Petteno <flameeyes@gmail.com>2008-03-09 12:54:45 +0000
committerDiego Petteno <flameeyes@gmail.com>2008-03-09 12:54:45 +0000
commit30e2a773d4e92ebe93ac1a21f481de9631fcc2a1 (patch)
tree7c4a2bbf0ba6ca87997eb4a1bfd906bdf94c1e57 /src
parent9ad7bb6188a6e3f01ae105473ad822ab81246627 (diff)
Test for _struct_ lt_user_dlloader, otherwise it won't be found.
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@2114 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src')
-rw-r--r--src/daemon/ltdl-bind-now.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/ltdl-bind-now.c b/src/daemon/ltdl-bind-now.c
index d569fea8..ea46593d 100644
--- a/src/daemon/ltdl-bind-now.c
+++ b/src/daemon/ltdl-bind-now.c
@@ -138,7 +138,7 @@ static lt_ptr bind_now_find_sym(lt_user_data d, lt_module m, const char *symbol)
void pa_ltdl_init(void) {
#ifdef PA_BIND_NOW
-# ifdef HAVE_LT_USER_DLLOADER
+# ifdef HAVE_STRUCT_LT_USER_DLLOADER
lt_dlloader *place;
static const struct lt_user_dlloader loader = {
.module_open = bind_now_open,
@@ -158,7 +158,7 @@ void pa_ltdl_init(void) {
#endif
#ifdef PA_BIND_NOW
-# ifdef HAVE_LT_USER_DLLOADER
+# ifdef HAVE_STRUCT_LT_USER_DLLOADER
if (!(place = lt_dlloader_find("dlopen")))
place = lt_dlloader_next(NULL);