Browse Source

remove source file location info

pull/4/merge
Max Lv 11 years ago
parent
commit
9a2fda8005
1 changed files with 1 additions and 1 deletions
  1. 2
      src/utils.h

2
src/utils.h

@ -16,7 +16,7 @@ while(0)
time_t now = time(NULL);\ time_t now = time(NULL);\
char timestr[20];\ char timestr[20];\
strftime(timestr, 20, TIME_FORMAT, localtime(&now));\ strftime(timestr, 20, TIME_FORMAT, localtime(&now));\
fprintf(stderr, "\e[01;35m %s ERROR: \e[0m" format " on File: %s Line: %s\n", timestr, ##__VA_ARGS__, __FILE__, TOSTR(__LINE__));}\
fprintf(stderr, "\e[01;35m %s ERROR: \e[0m" format "\n", timestr, ##__VA_ARGS__);}\
while(0) while(0)
void FATAL(const char *msg); void FATAL(const char *msg);

Loading…
Cancel
Save