]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix for snprintf check (can't check if functions exist, changed to WIN32 check)
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Oct 2001 03:11:26 +0000 (03:11 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 29 Oct 2001 03:11:26 +0000 (03:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@963 d7cf8633-e32d-0410-b094-e92efae38249

common.h

index c772fef8ee1acce7020575ad1903098f66bd3db0..98467fd3236745027bc53fca790f36563512321f 100644 (file)
--- a/common.h
+++ b/common.h
@@ -32,7 +32,7 @@ typedef enum {false, true}    qboolean;
 #include "quakeio.h"
 
 // LordHavoc: MSVC has a different name for snprintf
-#ifndef snprintf
+#ifdef WIN32
 #define snprintf _snprintf
 #endif