mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
Fix building ebacktrace1.dll with versions of binutils/libbfd after 2.20.51-1. This removes the need to link and depend on libintl (for now).
git-svn-id: https://svn.eduke32.com/eduke32@2422 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
35937454ad
commit
b1dbd58913
1 changed files with 47 additions and 0 deletions
|
@ -387,3 +387,50 @@ char *libintl_dgettext (const char *domain_name ATTRIBUTE((unused)), const char
|
||||||
static char buf[1024] = "XXX placeholder XXX";
|
static char buf[1024] = "XXX placeholder XXX";
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int libintl_fprintf ( FILE * stream, const char * format, ... );
|
||||||
|
int libintl_sprintf ( char * str, const char * format, ... );
|
||||||
|
int libintl_snprintf ( char *buffer, int buf_size, const char *format, ... );
|
||||||
|
int libintl_vprintf ( const char * format, va_list arg );
|
||||||
|
int libintl_vfprintf ( FILE * stream, const char * format, va_list arg );
|
||||||
|
int libintl_vsprintf ( char * str, const char * format, va_list arg );
|
||||||
|
|
||||||
|
int libintl_fprintf ( FILE * stream, const char * format, ... )
|
||||||
|
{
|
||||||
|
int value;
|
||||||
|
va_list arg;
|
||||||
|
va_start(arg, format);
|
||||||
|
value = vfprintf ( stream, format, arg );
|
||||||
|
va_end(arg);
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
int libintl_sprintf ( char * str, const char * format, ... )
|
||||||
|
{
|
||||||
|
int value;
|
||||||
|
va_list arg;
|
||||||
|
va_start(arg, format);
|
||||||
|
value = vsprintf ( str, format, arg );
|
||||||
|
va_end(arg);
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
int libintl_snprintf ( char *buffer, int buf_size, const char *format, ... )
|
||||||
|
{
|
||||||
|
int value;
|
||||||
|
va_list arg;
|
||||||
|
va_start(arg, format);
|
||||||
|
value = vsnprintf ( buffer, buf_size, format, arg );
|
||||||
|
va_end(arg);
|
||||||
|
return value;
|
||||||
|
}
|
||||||
|
int libintl_vprintf ( const char * format, va_list arg )
|
||||||
|
{
|
||||||
|
return vprintf ( format, arg );
|
||||||
|
}
|
||||||
|
int libintl_vfprintf ( FILE * stream, const char * format, va_list arg )
|
||||||
|
{
|
||||||
|
return vfprintf ( stream, format, arg );
|
||||||
|
}
|
||||||
|
int libintl_vsprintf ( char * str, const char * format, va_list arg )
|
||||||
|
{
|
||||||
|
return vsprintf ( str, format, arg );
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue