]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Added __STRING definition
authorJaroslav Kysela <perex@perex.cz>
Mon, 23 Jun 2003 07:51:14 +0000 (07:51 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 23 Jun 2003 07:51:14 +0000 (07:51 +0000)
include/global.h

index 2969949b047c4725c60ae248e563954daee7aea8..60a6737d70e6e77f61c3a75f2fb60cf6fb218e59 100644 (file)
@@ -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)