TP3: avoid warning on cygwin
[Algorithmic_C.git] / TP3 / macros.h
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)
7 #define VAR_NAME_VALUE(var) #var "=" VALUE(var)
8
9 #endif /* MACROS_h */