From: borine <32966433+borine@users.noreply.github.com> Date: Sun, 30 Jul 2023 15:26:56 +0000 (+0100) Subject: doxygen: conf: do not hide PCM specific function X-Git-Tag: v1.2.10~8 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=731253e82a041c558a19e269444cd56a611f857a;p=alsa-lib.git doxygen: conf: do not hide PCM specific function From: borine@github Link: https://github.com/alsa-project/alsa-lib/pull/340 Signed-off-by: Jaroslav Kysela --- diff --git a/src/confmisc.c b/src/confmisc.c index 0559fb66..9b30d6c1 100644 --- a/src/confmisc.c +++ b/src/confmisc.c @@ -1031,6 +1031,14 @@ int snd_func_card_name(snd_config_t **dst, snd_config_t *root, SND_DLSYM_BUILD_VERSION(snd_func_card_name, SND_CONFIG_DLSYM_VERSION_EVALUATE); #endif +#ifdef DOXYGEN +/* For consistency with the PCM Interface module, include documentation even + * when PCM module is not included in the build. */ +#ifndef BUILD_PCM +#define BUILD_PCM +#endif +#endif /* DOXYGEN */ + #ifdef BUILD_PCM /**