https://github.com/torvalds/linux
Raw File
Tip revision: 76dcd734eca23168cb008912c0f69ff408905235 authored by Linus Torvalds on 04 December 2022, 22:48:12 UTC
Linux 6.1-rc8
Tip revision: 76dcd73
stringify.h
#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 */
back to top