From: Jaroslav Kysela Date: Mon, 23 Jun 2003 07:51:14 +0000 (+0000) Subject: Added __STRING definition X-Git-Tag: v1.0.3~156 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=79c0a6998ce695cb3f2afdd66c6fa564716e47ee;p=alsa-lib.git Added __STRING definition --- 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)