From 8a6d48c0542876eb3acfc0970c0ab7872db08d5f Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Sun, 6 Dec 2009 05:26:23 +0100 Subject: check in the original version of dde linux26. --- libdde_linux26/contrib/include/linux/stringify.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libdde_linux26/contrib/include/linux/stringify.h (limited to 'libdde_linux26/contrib/include/linux/stringify.h') diff --git a/libdde_linux26/contrib/include/linux/stringify.h b/libdde_linux26/contrib/include/linux/stringify.h new file mode 100644 index 00000000..0b438835 --- /dev/null +++ b/libdde_linux26/contrib/include/linux/stringify.h @@ -0,0 +1,12 @@ +#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 */ -- cgit v1.2.3