From fb930234017ae0e863f3815f474d4e3462309c3e Mon Sep 17 00:00:00 2001 From: Romuald Conty Date: Wed, 30 Mar 2011 09:26:23 +0000 Subject: [PATCH] Windows does not have err() function. --- contrib/win32/err.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/win32/err.h b/contrib/win32/err.h index c9e15f1..b38bcb9 100644 --- a/contrib/win32/err.h +++ b/contrib/win32/err.h @@ -14,4 +14,6 @@ exit (code); \ } while (0) +#define err(code, ...) errx(code, ...) + #endif /* !_ERR_H_ */