18 const char *const name_ = strrchr(__FILE__, '/') == NULL \
20 : strrchr(__FILE__, '/') + 1; \
22 const time_t now_ = time(NULL); \
23 const struct tm *const now_tm_ = localtime(&now_); \
24 fprintf(stderr, "[Graphviz] %s:%d: %04d-%02d-%02d %02d:%02d: ", name_, \
25 __LINE__, now_tm_->tm_year + 1900, now_tm_->tm_mon + 1, \
26 now_tm_->tm_mday, now_tm_->tm_hour, now_tm_->tm_sec); \
27 fprintf(stderr, __VA_ARGS__); \
28 fprintf(stderr, "\n"); \
39#define GV_DEBUG(...) GV_INFO(__VA_ARGS__)
platform abstraction over flockfile