Kart-Public/tools/wadzip/err.h
2014-03-15 13:11:35 -04:00

26 lines
606 B
C

#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