mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-04-28 19:03:41 +00:00
Copy some non-Linux specific header files over to the kvmtool directory. This includes generic helpers like stringify and list definitions. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
13 lines
341 B
C
13 lines
341 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 */
|