summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2003-06-23 07:51:14 +0000
committerJaroslav Kysela <perex@perex.cz>2003-06-23 07:51:14 +0000
commit79c0a6998ce695cb3f2afdd66c6fa564716e47ee (patch)
treeb424ee427a7fc18fc48971e7dea483dac9524d31 /include
parent4771213631100214f9bbda29a91e468091b11960 (diff)
downloadalsa-lib-79c0a6998ce695cb3f2afdd66c6fa564716e47ee.tar.gz
Added __STRING definition
Diffstat (limited to 'include')
-rw-r--r--include/global.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 2969949b..60a6737d 100644
--- a/include/global.h
+++ b/include/global.h
@@ -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)