Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __LINUX_STRINGIFY_H
0003 #define __LINUX_STRINGIFY_H
0004 
0005 /* Indirect stringification.  Doing two levels allows the parameter to be a
0006  * macro itself.  For example, compile with -DFOO=bar, __stringify(FOO)
0007  * converts to "bar".
0008  */
0009 
0010 #define __stringify_1(x...) #x
0011 #define __stringify(x...)   __stringify_1(x)
0012 
0013 #endif  /* !__LINUX_STRINGIFY_H */