mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Use #ifdef to avoid warning about undefined macro.
This commit is contained in:
parent
a257448ceb
commit
3e5d9fd37a
2 changed files with 2 additions and 2 deletions
|
|
@ -239,7 +239,7 @@ int pa__init(pa_module*m) {
|
|||
#ifdef HAVE_ALSA
|
||||
if ((n = detect_alsa(m->core, just_one)) <= 0)
|
||||
#endif
|
||||
#if HAVE_OSS
|
||||
#ifdef HAVE_OSS
|
||||
if ((n = detect_oss(m->core, just_one)) <= 0)
|
||||
#endif
|
||||
#ifdef HAVE_SOLARIS
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#if HAVE_LIBSAMPLERATE
|
||||
#ifdef HAVE_LIBSAMPLERATE
|
||||
#include <samplerate.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue