mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Added __STRING definition
This commit is contained in:
parent
4771213631
commit
79c0a6998c
1 changed files with 5 additions and 0 deletions
|
|
@ -84,6 +84,11 @@ extern struct snd_dlsym_link *snd_dlsym_start;
|
|||
|
||||
#endif
|
||||
|
||||
#ifndef __STRING
|
||||
/** \brief Return 'x' argument as string */
|
||||
#define __STRING(x) #x
|
||||
#endif
|
||||
|
||||
/** \brief Returns the version of a dynamic symbol as a string. */
|
||||
#define SND_DLSYM_VERSION(version) __STRING(version)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue