stringify.h 341 B

123456789101112
  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 */