0
0
Fork 0
mirror of https://git.do.srb2.org/STJr/SRB2.git synced 2024-12-26 20:50:49 +00:00
SRB2/tools/wadzip/err.h

27 lines
606 B
C
Raw Normal View History

2014-03-15 16:59:03 +00:00
#if defined (__WIN32) || defined (WIN32)
#define NEED_ERR
#endif
#ifndef NEED_ERR
#include <err.h> /* system version of this file */
#else
#ifndef _ERR_H
#define _ERR_H
#include <stdarg.h>
void err (int eval, const char *fmt, ...);
void errx (int eval, const char *fmt, ...);
void verr (int eval, const char *fmt, va_list args);
void verrx (int eval, const char *fmt, va_list args);
void warn ( const char *fmt, ...);
void warnx( const char *fmt, ...);
void vwarn ( const char *fmt, va_list args);
void vwarnx( const char *fmt, va_list args);
#endif
#endif