summaryrefslogtreecommitdiff
path: root/src/qcommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/qcommon')
-rw-r--r--src/qcommon/qcommon.h4
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