]> git.alsa-project.org Git - alsa-lib.git/commitdiff
doxygen: conf: do not hide PCM specific function
authorborine <32966433+borine@users.noreply.github.com>
Sun, 30 Jul 2023 15:26:56 +0000 (16:26 +0100)
committerJaroslav Kysela <perex@perex.cz>
Fri, 1 Sep 2023 14:12:20 +0000 (16:12 +0200)
From: borine@github
Link: https://github.com/alsa-project/alsa-lib/pull/340
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/confmisc.c

index 0559fb66b508283476890d27a133b95037832648..9b30d6c1d025eb4d1bbf9ba27262746bc991f2fb 100644 (file)
@@ -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
 
 /**