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] - Diff between revs 1279 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1279 Rev 1765
#ifndef __LINUX_STRINGIFY_H
#ifndef __LINUX_STRINGIFY_H
#define __LINUX_STRINGIFY_H
#define __LINUX_STRINGIFY_H
 
 
/* Indirect stringification.  Doing two levels allows the parameter to be a
/* Indirect stringification.  Doing two levels allows the parameter to be a
 * macro itself.  For example, compile with -DFOO=bar, __stringify(FOO)
 * macro itself.  For example, compile with -DFOO=bar, __stringify(FOO)
 * converts to "bar".
 * converts to "bar".
 */
 */
 
 
#define __stringify_1(x)        #x
#define __stringify_1(x)        #x
#define __stringify(x)          __stringify_1(x)
#define __stringify(x)          __stringify_1(x)
 
 
#endif  /* !__LINUX_STRINGIFY_H */
#endif  /* !__LINUX_STRINGIFY_H */
 
 

powered by: WebSVN 2.1.0

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