diff options
author | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-10-01 07:56:32 +0000 |
---|---|---|
committer | tma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-10-01 07:56:32 +0000 |
commit | 89f707ad9cefdebda05d6f019f584be159f740a7 (patch) | |
tree | a768e27e64d0e1ebae36bd0c775df425fa5a3fbe /code/qcommon | |
parent | 3be58475077ded26b1e8b8c0b3f890e11fc9d0e1 (diff) | |
download | ioquake3-aero-89f707ad9cefdebda05d6f019f584be159f740a7.tar.gz ioquake3-aero-89f707ad9cefdebda05d6f019f584be159f740a7.zip |
* Remove some C99isms (f0rqu3)
* Provide Q_snprintf wrapper for snprintf (f0rqu3)
git-svn-id: svn://svn.icculus.org/quake3/trunk@1188 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon')
-rw-r--r-- | code/qcommon/qcommon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 5fd3cd5..7d977ac 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -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 |