diff options
Diffstat (limited to 'src/qcommon')
-rw-r--r-- | src/qcommon/qcommon.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcommon/qcommon.h b/src/qcommon/qcommon.h index 7e6c40cd..59332068 100644 --- a/src/qcommon/qcommon.h +++ b/src/qcommon/qcommon.h @@ -683,10 +683,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 // returned by Sys_GetProcessorFeatures |