OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [stringify.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef __LINUX_STRINGIFY_H
2
#define __LINUX_STRINGIFY_H
3
 
4
/* Indirect stringification.  Doing two levels allows the parameter to be a
5
 * macro itself.  For example, compile with -DFOO=bar, __stringify(FOO)
6
 * converts to "bar".
7
 */
8
 
9
#define __stringify_1(x)        #x
10
#define __stringify(x)          __stringify_1(x)
11
 
12
#endif  /* !__LINUX_STRINGIFY_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.