GoaLitiuM's changes to fix msvc2015's cmake support.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5594 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b4de288ca7
commit
d16c6646b7
15 changed files with 119 additions and 91 deletions
|
@ -104,7 +104,7 @@ char *Plug_Info_ValueForKey (const char *s, const char *key, char *out, size_t o
|
|||
return oout;
|
||||
}
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 2015
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
int Q_vsnprintf(char *buffer, size_t maxlen, const char *format, va_list argptr)
|
||||
{
|
||||
int r = _vsnprintf (buffer, maxlen-1, format, argptr);
|
||||
|
@ -174,7 +174,7 @@ int QDECL linuxlike_vsnprintf(char *buffer, int size, const char *format, va_lis
|
|||
|
||||
return ret;
|
||||
}
|
||||
#else
|
||||
#elif (_MSC_VER < 1900)
|
||||
int VARGS linuxlike_snprintf_vc8(char *buffer, int size, const char *format, ...)
|
||||
{
|
||||
int ret;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue