URL
https://opencores.org/ocsvn/or1k/or1k/trunk
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 */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.