mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-12-23 11:10:56 +00:00
27 lines
606 B
C
27 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
|