raze-gles/source/common/utility/printf.h
2019-10-25 02:07:46 +02:00

17 lines
429 B
C

#pragma once
// Just to let the ZDoom-based code print to the Build console without changing it all
#if defined __GNUC__ || defined __clang__
# define ATTRIBUTE(attrlist) __attribute__(attrlist)
#else
# define ATTRIBUTE(attrlist)
#endif
void OSD_Printf(const char *fmt, ...) ATTRIBUTE((format(printf,1,2)));
#define Printf OSD_Printf
void I_Error(const char *fmt, ...) ATTRIBUTE((format(printf,1,2)));
#include "v_text.h"