diff options
Diffstat (limited to 'src/base/main.h')
| -rw-r--r-- | src/base/main.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/base/main.h b/src/base/main.h index 12efa80..17c9838 100644 --- a/src/base/main.h +++ b/src/base/main.h @@ -19,20 +19,10 @@ #define _(text) (text) #endif /* NLS */ -#ifdef DEBUG -#define DEBUG_MSG(msg,arg...) printf(msg, ##arg) -#else /* DEBUG */ -#define DEBUG_MSG(msg,arg...) -#endif /* DEBUG */ +#include "msg.h" #define UNUSED(var) if (0 && var) {} -#define FATAL(msg,arg...) \ - do{ \ - fprintf(stderr, msg, ##arg); \ - abort(0); \ - }while(0) - extern char *getParam(char *s); extern char *getParamElse(char *s1, char *s2); extern bool_t isParamFlag(char *s); |