mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
26 lines
606 B
C
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
|