Move additionnal files (for Windows) in contrib/
This commit is contained in:
parent
16786c61e3
commit
693389ac10
9 changed files with 0 additions and 0 deletions
12
contrib/win32/err.h
Normal file
12
contrib/win32/err.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef _ERR_H_
|
||||
#define _ERR_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define warnx(...) fprintf (stderr, __VA_ARGS__)
|
||||
#define errx(code, ...) do { \
|
||||
fprintf (stderr, __VA_ARGS__); \
|
||||
exit (code); \
|
||||
} while (0)
|
||||
|
||||
#endif /* !_ERR_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue