#ifndef DEBUG_H #define DEBUG_H #ifdef DEBUG # include # ifdef __STDC__ # define IDEBUG(x) printf("\"%s\":%d: %s vaut %d\n",\ __FILE__, __LINE__, #x, x); # else # define IDEBUG(x) printf("\"%s\":%d: %d\n",\ __FILE__, __LINE__, x); # endif /* __STDC__ */ #else # define IDEBUG(ignore) #endif /* DEBUG */ #endif /* DEBUG_H */