kolibrios-gitea/drivers/video/drm/includes/linux/stringify.h
Sergey Semyonov (Serge) ea3dc0b0b8 kms: pre rc9
git-svn-id: svn://kolibrios.org@1321 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-14 18:34:32 +00:00

13 lines
353 B
C

#ifndef __LINUX_STRINGIFY_H
#define __LINUX_STRINGIFY_H
/* Indirect stringification. Doing two levels allows the parameter to be a
* macro itself. For example, compile with -DFOO=bar, __stringify(FOO)
* converts to "bar".
*/
#define __stringify_1(x...) #x
#define __stringify(x...) __stringify_1(x)
#endif /* !__LINUX_STRINGIFY_H */