]> git.alsa-project.org Git - alsa-lib.git/commit
global.h: move __STRING() macro outside !PIC ifdef block
authorJaroslav Kysela <perex@perex.cz>
Wed, 6 Sep 2023 13:16:44 +0000 (15:16 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 6 Sep 2023 13:16:44 +0000 (15:16 +0200)
commit10bd599970acc71c92f85eb08943eb8d3d702a9c
treebec94670b72e60a53ee21d3fd50f416ee0ea9a81
parentfcce13a6726c52882bd8b7131c61c4eba308792c
global.h: move __STRING() macro outside !PIC ifdef block

It solves the musl libc compilation issue.

control.c: In function 'snd_ctl_open_conf':
../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio]
   98 | #define SND_DLSYM_VERSION(version) __STRING(version)
      |                                    ^~~~~~~~

Fixes: https://github.com/alsa-project/alsa-lib/issues/350
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/global.h