mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Merge commit 'flameeyes/autoconf-2.62'
This commit is contained in:
commit
3d2d6ca958
13 changed files with 407 additions and 242 deletions
|
|
@ -102,7 +102,9 @@ static lt_module bind_now_open(lt_user_data d, const char *fname, lt_dladvise ad
|
|||
pa_assert(fname);
|
||||
|
||||
if (!(m = dlopen(fname, PA_BIND_NOW))) {
|
||||
#ifdef HAVE_LT_DLMUTEX_REGISTER
|
||||
libtool_set_error(dlerror());
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
@ -114,7 +116,9 @@ static int bind_now_close(lt_user_data d, lt_module m) {
|
|||
pa_assert(m);
|
||||
|
||||
if (dlclose(m) != 0){
|
||||
#ifdef HAVE_LT_DLMUTEX_REGISTER
|
||||
libtool_set_error(dlerror());
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
@ -128,7 +132,9 @@ static lt_ptr bind_now_find_sym(lt_user_data d, lt_module m, const char *symbol)
|
|||
pa_assert(symbol);
|
||||
|
||||
if (!(ptr = dlsym(m, symbol))) {
|
||||
#ifdef HAVE_LT_DLMUTEX_REGISTER
|
||||
libtool_set_error(dlerror());
|
||||
#endif
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ void *pa_tls_set(pa_tls *t, void *userdata);
|
|||
} \
|
||||
struct __stupid_useless_struct_to_allow_trailing_semicolon
|
||||
|
||||
#ifdef HAVE_TLS_BUILTIN
|
||||
#ifdef SUPPORT_TLS___THREAD
|
||||
/* An optimized version of the above that requires no dynamic
|
||||
* allocation if the compiler supports __thread */
|
||||
#define PA_STATIC_TLS_DECLARE_NO_FREE(name) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue