blob: 5b7b0028fdaed86e5e29df1c19a39c5ebc44a3ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/* Taken from Linux Kernel source code */
#ifndef _STRINGIFY_H_
#define _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 /* _STRINGIFY_H_ */
|