summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)