Add STRINGIFY to gdb/common/preprocessor.h
[deliverable/binutils-gdb.git] / gdb / common / preprocessor.h
index 6877344350aa2c7c76093e8ed0a0a6b96e6d72c0..3543a9048ce6ca0d8ed988c01319786f12623a5d 100644 (file)
 #define CONCAT_1(a, b) a ## b
 #define CONCAT(a, b) CONCAT_1 (a, b)
 
+/* Stringification.  */
+#define STRINGIFY_1(x) #x
+#define STRINGIFY(x) STRINGIFY_1 (x)
+
 /* Escape parens out.  Useful if you need to pass an argument that
    includes commas to another macro.  */
 #define ESC(...) __VA_ARGS__
This page took 0.027101 seconds and 4 git commands to generate.