* Remove some C99isms (f0rqu3)
* Provide Q_snprintf wrapper for snprintf (f0rqu3)
This commit is contained in:
parent
eb217f7364
commit
26641226a4
4 changed files with 22 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue