stringify.h
上传用户:lgb322
上传日期:2013-02-24
资源大小:30529k
文件大小:0k
源码类别:

嵌入式Linux

开发平台:

Unix_Linux

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