mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-03-20 05:34:16 -04:00
Apply #ifdefs around functionality not available on win32
And also the reverse: around some win32 specific functionality
This commit is contained in:
parent
0ac0479534
commit
bb12ff8356
20 changed files with 120 additions and 13 deletions
|
|
@ -92,7 +92,7 @@ void *pa_tls_set(pa_tls *t, void *userdata);
|
|||
} \
|
||||
struct __stupid_useless_struct_to_allow_trailing_semicolon
|
||||
|
||||
#ifdef SUPPORT_TLS___THREAD
|
||||
#if defined(SUPPORT_TLS___THREAD) && !defined(OS_IS_WIN32)
|
||||
/* 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