976a4b97 JB |
1 | #ifndef MACROS_H |
2 | #define MACROS_H |
3 | |
4 | /* definition to expand macro then apply to pragma message */ |
5 | #define VALUE_TO_STRING(x) #x |
6 | #define VALUE(x) VALUE_TO_STRING(x) |
940a20a4 |
7 | #define VAR_NAME_VALUE(var) #var "=" VALUE(var) |
976a4b97 |
8 | |
f12e9b6b |
9 | #endif /* MACROS_H */ |