* Remove some C99isms (f0rqu3)

* Provide Q_snprintf wrapper for snprintf (f0rqu3)
This commit is contained in:
Tim Angus 2007-10-01 07:56:32 +00:00
parent eb217f7364
commit 26641226a4
4 changed files with 22 additions and 18 deletions

View file

@ -689,10 +689,12 @@ MISC
// vsnprintf is ISO/IEC 9899:1999
// abstracting this to make it portable
#ifdef WIN32
#ifdef _WIN32
#define Q_vsnprintf _vsnprintf
#define Q_snprintf _snprintf
#else
#define Q_vsnprintf vsnprintf
#define Q_snprintf snprintf
#endif
// centralizing the declarations for cl_cdkey