| 1 | /*! Versions of error and fatal with the ability to show call-stack. */ |
| 2 | #ifndef REMAKE_DBG_MSG_H |
| 3 | #define REMAKE_DBG_MSG_H |
| 4 | #include "../src/make.h" |
| 5 | |
| 6 | #if defined __STDC__ && __STDC__ |
| 7 | void dbg_msg (const char *fmt, ...) |
| 8 | __attribute__ ((__format__ (__printf__, 1, 2))); |
| 9 | void dbg_errmsg (const char *fmt, ...) |
| 10 | __attribute__ ((__format__ (__printf__, 1, 2))); |
| 11 | #else |
| 12 | void dbg_msg(); |
| 13 | void dbg_errmsg(); |
| 14 | #endif |
| 15 | |
| 16 | #endif // REMAKE_DBG_MSG_H |